#238C1F#238C1F
#238C1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.171 H 142.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #238C1F |
|---|---|
| RGB | rgb(35, 140, 31) |
| HSL | hsl(118, 64%, 34%) |
| HSV | hsv(118, 78%, 55%) |
| CMYK | cmyk(75%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.93, -49.99, 46.46) |
| CIE-LCH | lch(50.93, 68.24, 137.10°) |
| OKLab | oklab(56.06% -0.1359 0.1044) |
| OKLCH | oklch(56.06% 0.171 142.5) |
| XYZ | xyz(10.3179, 19.2113, 4.4604) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.57
Emerald Green
#028F1E
ΔE00 1.50
Irish Green
#019529
ΔE00 3.35
True Green
#089404
ΔE00 3.40
Kelley Green
#009337
ΔE00 4.08
Green
#008000
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C1F #881F8C
analogous
#598C1F #238C1F #1F8C51
triadic
#238C1F #1F238C #8C1F23
tetradic
#238C1F #1F598C #881F8C #8C511F
square
#238C1F #1F598C #881F8C #8C511F
split-complementary
#238C1F #511F8C #8C1F59
monochromatic
#0A2809 #165A14 #238C1F #30BE2A #53D84E
Accessibility & contrast
On white
4.34
#238C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#238C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C1F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C1F | 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)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c1f; /* rgb */ color: rgb(35, 140, 31); /* oklch */ color: oklch(56.1% 0.171 142.5);
Tailwind
colors: {
custom: {
50: '#70af63',
500: '#238c1f',
950: '#000000',
},
}SCSS
$custom: #238c1f; $custom-light: #70af63; $custom-dark: #000000;
JSON
{
"hex": "#238c1f",
"rgb": {
"r": 35,
"g": 140,
"b": 31
},
"hsl": {
"h": 117.798,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56063,
"c": 0.17138,
"h": 142.5
},
"luminance": 0.19212
}Semantic roles & 50–950 ramp
primary
#238C1F
secondary
#B74CBB
accent
#41E7E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A