#238C2E#238C2E
#238C2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.162 H 144.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #238C2E |
|---|---|
| RGB | rgb(35, 140, 46) |
| HSL | hsl(126, 60%, 34%) |
| HSV | hsv(126, 75%, 55%) |
| CMYK | cmyk(75%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.05, -48.60, 40.54) |
| CIE-LCH | lch(51.05, 63.29, 140.16°) |
| OKLab | oklab(56.19% -0.1314 0.0939) |
| OKLCH | oklch(56.19% 0.162 144.4) |
| XYZ | xyz(10.5637, 19.3095, 5.7546) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.56
Emerald Green
#028F1E
ΔE00 2.31
Kelley Green
#009337
ΔE00 2.84
Irish Green
#019529
ΔE00 3.31
True Green
#089404
ΔE00 4.78
Tree Green
#2A7E19
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C2E #8C2381
analogous
#4D8C23 #238C2E #238C63
triadic
#238C2E #2E238C #8C2E23
tetradic
#238C2E #234D8C #8C2381 #8C6323
square
#238C2E #234D8C #8C2381 #8C6323
split-complementary
#238C2E #63238C #8C234D
monochromatic
#0B2A0E #175B1E #238C2E #2FBD3E #55D462
Accessibility & contrast
On white
4.32
#238C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#238C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C2E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C2E | 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)
#8F7F22
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #238c2e; /* rgb */ color: rgb(35, 140, 46); /* oklch */ color: oklch(56.2% 0.162 144.4);
Tailwind
colors: {
custom: {
50: '#6faf6b',
500: '#238c2e',
950: '#000000',
},
}SCSS
$custom: #238c2e; $custom-light: #6faf6b; $custom-dark: #000000;
JSON
{
"hex": "#238c2e",
"rgb": {
"r": 35,
"g": 140,
"b": 46
},
"hsl": {
"h": 126.286,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56194,
"c": 0.16153,
"h": 144.4
},
"luminance": 0.19311
}Semantic roles & 50–950 ramp
primary
#238C2E
secondary
#B852AE
accent
#45D3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A