#238C2F#238C2F
#238C2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.161 H 144.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #238C2F |
|---|---|
| RGB | rgb(35, 140, 47) |
| HSL | hsl(127, 60%, 34%) |
| HSV | hsv(127, 75%, 55%) |
| CMYK | cmyk(75%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.06, -48.49, 40.11) |
| CIE-LCH | lch(51.06, 62.93, 140.41°) |
| OKLab | oklab(56.21% -0.1311 0.0931) |
| OKLCH | oklch(56.21% 0.161 144.6) |
| XYZ | xyz(10.5836, 19.3175, 5.8597) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.71
Emerald Green
#028F1E
ΔE00 2.43
Kelley Green
#009337
ΔE00 2.78
Irish Green
#019529
ΔE00 3.36
True Green
#089404
ΔE00 4.90
Tree Green
#2A7E19
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C2F #8C2380
analogous
#4C8C23 #238C2F #238C64
triadic
#238C2F #2F238C #8C2F23
tetradic
#238C2F #234C8C #8C2380 #8C6423
square
#238C2F #234C8C #8C2380 #8C6423
split-complementary
#238C2F #64238C #8C234C
monochromatic
#0B2A0E #175B1F #238C2F #2FBD3F #55D463
Accessibility & contrast
On white
4.32
#238C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#238C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C2F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C2F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #238c2f; /* rgb */ color: rgb(35, 140, 47); /* oklch */ color: oklch(56.2% 0.161 144.6);
Tailwind
colors: {
custom: {
50: '#6faf6c',
500: '#238c2f',
950: '#000000',
},
}SCSS
$custom: #238c2f; $custom-light: #6faf6c; $custom-dark: #000000;
JSON
{
"hex": "#238c2f",
"rgb": {
"r": 35,
"g": 140,
"b": 47
},
"hsl": {
"h": 126.857,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56205,
"c": 0.16077,
"h": 144.6
},
"luminance": 0.19319
}Semantic roles & 50–950 ramp
primary
#238C2F
secondary
#B852AD
accent
#45D1E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A