#258A2F#258A2F
#258A2F is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.158 H 144.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #258A2F |
|---|---|
| RGB | rgb(37, 138, 47) |
| HSL | hsl(126, 58%, 34%) |
| HSV | hsv(126, 73%, 54%) |
| CMYK | cmyk(73.2%, 0%, 65.9%, 45.9%) |
| CIE-LAB | lab(50.42, -47.43, 39.41) |
| CIE-LCH | lch(50.42, 61.67, 140.27°) |
| OKLab | oklab(55.69% -0.1283 0.0917) |
| OKLCH | oklch(55.69% 0.158 144.5) |
| XYZ | xyz(10.3638, 18.7744, 5.7664) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.83
Emerald Green
#028F1E
ΔE00 2.91
Kelley Green
#009337
ΔE00 3.39
Irish Green
#019529
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 4.81
Green
#008000
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#258A2F #8A2580
analogous
#4D8A25 #258A2F #258A62
triadic
#258A2F #2F258A #8A2F25
tetradic
#258A2F #254D8A #8A2580 #8A6225
square
#258A2F #254D8A #8A2580 #8A6225
split-complementary
#258A2F #62258A #8A254D
monochromatic
#0B290E #185A1F #258A2F #32BA3F #57D264
Accessibility & contrast
On white
4.42
#258A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#258A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #258A2F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##258A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##258A2F | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #258a2f; /* rgb */ color: rgb(37, 138, 47); /* oklch */ color: oklch(55.7% 0.158 144.5);
Tailwind
colors: {
custom: {
50: '#70ad6c',
500: '#258a2f',
950: '#000000',
},
}SCSS
$custom: #258a2f; $custom-light: #70ad6c; $custom-dark: #000000;
JSON
{
"hex": "#258a2f",
"rgb": {
"r": 37,
"g": 138,
"b": 47
},
"hsl": {
"h": 125.941,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.55691,
"c": 0.15766,
"h": 144.5
},
"luminance": 0.18776
}Semantic roles & 50–950 ramp
primary
#258A2F
secondary
#B754AD
accent
#47D2E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A