#238C2A#238C2A
#238C2A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.164 H 143.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #238C2A |
|---|---|
| RGB | rgb(35, 140, 42) |
| HSL | hsl(124, 60%, 34%) |
| HSV | hsv(124, 75%, 55%) |
| CMYK | cmyk(75%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(51.01, -49.02, 42.25) |
| CIE-LCH | lch(51.01, 64.71, 139.25°) |
| OKLab | oklab(56.15% -0.1327 0.0971) |
| OKLCH | oklch(56.15% 0.164 143.8) |
| XYZ | xyz(10.4885, 19.2795, 5.3586) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.01
Emerald Green
#028F1E
ΔE00 1.90
Kelley Green
#009337
ΔE00 3.13
Irish Green
#019529
ΔE00 3.20
True Green
#089404
ΔE00 4.33
Tree Green
#2A7E19
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C2A #8C2385
analogous
#518C23 #238C2A #238C5F
triadic
#238C2A #2A238C #8C2A23
tetradic
#238C2A #23518C #8C2385 #8C5F23
square
#238C2A #23518C #8C2385 #8C5F23
split-complementary
#238C2A #5F238C #8C2351
monochromatic
#0B2A0D #175B1B #238C2A #2FBD39 #55D45D
Accessibility & contrast
On white
4.32
#238C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#238C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C2A
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C2A | 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)
#8F7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c2a; /* rgb */ color: rgb(35, 140, 42); /* oklch */ color: oklch(56.2% 0.164 143.8);
Tailwind
colors: {
custom: {
50: '#70af69',
500: '#238c2a',
950: '#000000',
},
}SCSS
$custom: #238c2a; $custom-light: #70af69; $custom-dark: #000000;
JSON
{
"hex": "#238c2a",
"rgb": {
"r": 35,
"g": 140,
"b": 42
},
"hsl": {
"h": 124,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56154,
"c": 0.16444,
"h": 143.8
},
"luminance": 0.19281
}Semantic roles & 50–950 ramp
primary
#238C2A
secondary
#B852B2
accent
#45D9E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A