#238F2F#238F2F
#238F2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.164 H 144.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #238F2F |
|---|---|
| RGB | rgb(35, 143, 47) |
| HSL | hsl(127, 61%, 35%) |
| HSV | hsv(127, 76%, 56%) |
| CMYK | cmyk(75.5%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.07, -49.54, 41.22) |
| CIE-LCH | lch(52.07, 64.44, 140.23°) |
| OKLab | oklab(57.05% -0.1339 0.0955) |
| OKLCH | oklch(57.05% 0.164 144.5) |
| XYZ | xyz(11.0279, 20.2062, 6.0078) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.00
Emerald Green
#028F1E
ΔE00 2.04
Kelley Green
#009337
ΔE00 2.14
Irish Green
#019529
ΔE00 2.37
True Green
#089404
ΔE00 4.19
Fern Green
#548D44
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238F2F #8F2383
analogous
#4D8F23 #238F2F #238F65
triadic
#238F2F #2F238F #8F2F23
tetradic
#238F2F #234D8F #8F2383 #8F6523
square
#238F2F #234D8F #8F2383 #8F6523
split-complementary
#238F2F #65238F #8F234D
monochromatic
#0B2D0F #175E1F #238F2F #2FC03F #57D665
Accessibility & contrast
On white
4.17
#238F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#238F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238F2F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238F2F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #238f2f; /* rgb */ color: rgb(35, 143, 47); /* oklch */ color: oklch(57.0% 0.164 144.5);
Tailwind
colors: {
custom: {
50: '#70b16c',
500: '#238f2f',
950: '#000000',
},
}SCSS
$custom: #238f2f; $custom-light: #70b16c; $custom-dark: #000000;
JSON
{
"hex": "#238f2f",
"rgb": {
"r": 35,
"g": 143,
"b": 47
},
"hsl": {
"h": 126.667,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.57045,
"c": 0.16445,
"h": 144.5
},
"luminance": 0.20207
}Semantic roles & 50–950 ramp
primary
#238F2F
secondary
#BA54AF
accent
#44D2E4
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A