Green color · XKCD survey name
Ocean Green Color Code: #3D9973
Ocean Green is a medium-dark, soft blue-green color with the hexadecimal value #3D9973. In RGB it is 61, 153, 115 and in HSL it is 155°, 43%, 42%. Black text reads best on it (6.00:1 contrast).
Ocean Green color values
#3D9973
rgb(61, 153, 115)
hsl(155, 43%, 42%)
155, 60%, 60%
hwb(155 24% 40%)
60%, 0%, 25%, 40%
4036979
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is Ocean Green?
“Ocean Green” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.
Its hue angle of 155° places it in the blue-green part of the color wheel, with 43% saturation (soft) and 42% lightness (medium-dark). It sits between warm and cool.
Compared with the other green colors in the Aqeeb Studio library, it is lighter than 35% of them and more saturated than 19% of them.
Its relative luminance is 0.250, which makes it a mid-tone color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
Ocean Green counts as a light color: its HSL lightness is 42% and its relative luminance is 0.250. Black text reads best on it (6.00:1 contrast).
Text contrast on Ocean Green
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 3.49:1 Limited | Fail | Pass | Fail | Fail |
| Black text | Sample text | 6.00:1 Good | Pass | Pass | Fail | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with Ocean Green
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of Ocean Green
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use Ocean Green
- Card, highlight and section backgrounds with dark text (6.00:1 contrast with black)
- Large headings, icons and graphics, where a 3:1 contrast ratio is enough
- Charts, maps and nature illustrations
- Calm backgrounds and section fills
- Success and confirmation states (with a label or icon)
- Eco, health and finance-style branding
Use Ocean Green in CSS
:root {
--color-ocean-green: #3D9973;
}
.element {
color: var(--color-ocean-green);
background-color: #3D9973;
border: 2px solid #3D9973;
}
Questions about Ocean Green
What is the HEX code for Ocean Green?
Ocean Green is #3D9973.
What is the RGB value of Ocean Green?
The RGB value of Ocean Green is 61, 153, 115: 61 red, 153 green and 115 blue on a 0–255 scale, written rgb(61, 153, 115) in CSS.
What is the HSL value of Ocean Green?
The HSL value of Ocean Green is 155°, 43%, 42% (hue, saturation, lightness), written hsl(155, 43%, 42%) in CSS.
What is the CMYK value of Ocean Green?
A standard conversion gives about C 60%, M 0%, Y 25%, K 40%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is Ocean Green a light or dark color?
Ocean Green counts as a light color: its HSL lightness is 42% and its relative luminance is 0.250. Black text reads best on it (6.00:1 contrast).
How does Ocean Green look with white text?
White text on Ocean Green has a contrast ratio of 3.49:1, rated Limited. It does not reach WCAG AA for normal text; use large text only.
How does Ocean Green look with black text?
Black text on Ocean Green has a contrast ratio of 6.00:1, rated Good. It meets WCAG AA for normal text.
What colors go well with Ocean Green?
Light Burgundy is its complementary color, and Mid Green sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can Ocean Green be used?
It suits card, highlight and section backgrounds with dark text (6.00:1 contrast with black); large headings, icons and graphics, where a 3:1 contrast ratio is enough; charts, maps and nature illustrations.
How do I use Ocean Green in CSS?
Use color: #3D9973; for text, background-color: #3D9973; for fills, or define a custom property such as --color-ocean-green: #3D9973; and reuse it with var(--color-ocean-green).
About this color page
Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.