#238C1A#238C1A
#238C1A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.174 H 142.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #238C1A |
|---|---|
| RGB | rgb(35, 140, 26) |
| HSL | hsl(115, 69%, 33%) |
| HSV | hsv(115, 81%, 55%) |
| CMYK | cmyk(75%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(50.91, -50.34, 48.10) |
| CIE-LCH | lch(50.91, 69.62, 136.30°) |
| OKLab | oklab(56.03% -0.1371 0.1071) |
| OKLCH | oklch(56.03% 0.174 142) |
| XYZ | xyz(10.2571, 19.1869, 4.1400) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.03
Emerald Green
#028F1E
ΔE00 1.65
True Green
#089404
ΔE00 3.13
Irish Green
#019529
ΔE00 3.55
Kelley Green
#009337
ΔE00 4.50
Green
#008000
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C1A #831A8C
analogous
#5C8C1A #238C1A #1A8C4A
triadic
#238C1A #1A238C #8C1A23
tetradic
#238C1A #1A5C8C #831A8C #8C4A1A
square
#238C1A #1A5C8C #831A8C #8C4A1A
split-complementary
#238C1A #4A1A8C #8C1A5C
monochromatic
#092507 #165810 #238C1A #30C024 #50DC44
Accessibility & contrast
On white
4.34
#238C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#238C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C1A
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C1A | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c1a; /* rgb */ color: rgb(35, 140, 26); /* oklch */ color: oklch(56.0% 0.174 142.0);
Tailwind
colors: {
custom: {
50: '#70af61',
500: '#238c1a',
950: '#000000',
},
}SCSS
$custom: #238c1a; $custom-light: #70af61; $custom-dark: #000000;
JSON
{
"hex": "#238c1a",
"rgb": {
"r": 35,
"g": 140,
"b": 26
},
"hsl": {
"h": 115.263,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.5603,
"c": 0.17396,
"h": 142
},
"luminance": 0.19188
}Semantic roles & 50–950 ramp
primary
#238C1A
secondary
#B444BE
accent
#3CECDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A