#238C2C#238C2C
#238C2C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.163 H 144.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #238C2C |
|---|---|
| RGB | rgb(35, 140, 44) |
| HSL | hsl(125, 60%, 34%) |
| HSV | hsv(125, 75%, 55%) |
| CMYK | cmyk(75%, 0%, 68.6%, 45.1%) |
| CIE-LAB | lab(51.03, -48.82, 41.41) |
| CIE-LCH | lch(51.03, 64.01, 139.70°) |
| OKLab | oklab(56.17% -0.1321 0.0955) |
| OKLCH | oklch(56.17% 0.163 144.1) |
| XYZ | xyz(10.5252, 19.2941, 5.5518) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.28
Emerald Green
#028F1E
ΔE00 2.09
Kelley Green
#009337
ΔE00 2.98
Irish Green
#019529
ΔE00 3.24
True Green
#089404
ΔE00 4.54
Tree Green
#2A7E19
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C2C #8C2383
analogous
#4F8C23 #238C2C #238C61
triadic
#238C2C #2C238C #8C2C23
tetradic
#238C2C #234F8C #8C2383 #8C6123
square
#238C2C #234F8C #8C2383 #8C6123
split-complementary
#238C2C #61238C #8C234F
monochromatic
#0B2A0D #175B1D #238C2C #2FBD3B #55D460
Accessibility & contrast
On white
4.32
#238C2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#238C2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C2C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C2C | 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)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #238c2c; /* rgb */ color: rgb(35, 140, 44); /* oklch */ color: oklch(56.2% 0.163 144.1);
Tailwind
colors: {
custom: {
50: '#6faf6a',
500: '#238c2c',
950: '#000000',
},
}SCSS
$custom: #238c2c; $custom-light: #6faf6a; $custom-dark: #000000;
JSON
{
"hex": "#238c2c",
"rgb": {
"r": 35,
"g": 140,
"b": 44
},
"hsl": {
"h": 125.143,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56173,
"c": 0.16301,
"h": 144.1
},
"luminance": 0.19295
}Semantic roles & 50–950 ramp
primary
#238C2C
secondary
#B852B0
accent
#45D6E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A