#238C1C#238C1C
#238C1C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #238C1C |
|---|---|
| RGB | rgb(35, 140, 28) |
| HSL | hsl(116, 67%, 33%) |
| HSV | hsv(116, 80%, 55%) |
| CMYK | cmyk(75%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(50.92, -50.20, 47.47) |
| CIE-LCH | lch(50.92, 69.09, 136.61°) |
| OKLab | oklab(56.04% -0.1366 0.1061) |
| OKLCH | oklch(56.04% 0.173 142.2) |
| XYZ | xyz(10.2802, 19.1962, 4.2618) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.84
Emerald Green
#028F1E
ΔE00 1.57
True Green
#089404
ΔE00 3.23
Irish Green
#019529
ΔE00 3.46
Kelley Green
#009337
ΔE00 4.34
Green
#008000
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C1C #851C8C
analogous
#5B8C1C #238C1C #1C8C4D
triadic
#238C1C #1C238C #8C1C23
tetradic
#238C1C #1C5B8C #851C8C #8C4D1C
square
#238C1C #1C5B8C #851C8C #8C4D1C
split-complementary
#238C1C #4D1C8C #8C1C5B
monochromatic
#092608 #165912 #238C1C #30BF26 #51DA48
Accessibility & contrast
On white
4.34
#238C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#238C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C1C
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C1C | 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)
#847629
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c1c; /* rgb */ color: rgb(35, 140, 28); /* oklch */ color: oklch(56.0% 0.173 142.2);
Tailwind
colors: {
custom: {
50: '#70af62',
500: '#238c1c',
950: '#000000',
},
}SCSS
$custom: #238c1c; $custom-light: #70af62; $custom-dark: #000000;
JSON
{
"hex": "#238c1c",
"rgb": {
"r": 35,
"g": 140,
"b": 28
},
"hsl": {
"h": 116.25,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.56043,
"c": 0.17297,
"h": 142.2
},
"luminance": 0.19197
}Semantic roles & 50–950 ramp
primary
#238C1C
secondary
#B548BC
accent
#3EEADF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A