#258D1F#258D1F
#258D1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.172 H 142.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #258D1F |
|---|---|
| RGB | rgb(37, 141, 31) |
| HSL | hsl(117, 64%, 34%) |
| HSV | hsv(117, 78%, 55%) |
| CMYK | cmyk(73.8%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.31, -49.97, 46.85) |
| CIE-LCH | lch(51.31, 68.50, 136.85°) |
| OKLab | oklab(56.39% -0.136 0.1052) |
| OKLCH | oklch(56.39% 0.172 142.3) |
| XYZ | xyz(10.5345, 19.5408, 4.5126) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.93
Emerald Green
#028F1E
ΔE00 1.44
True Green
#089404
ΔE00 3.09
Irish Green
#019529
ΔE00 3.11
Kelley Green
#009337
ΔE00 4.01
Green
#008000
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#258D1F #871F8D
analogous
#5C8D1F #258D1F #1F8D50
triadic
#258D1F #1F258D #8D1F25
tetradic
#258D1F #1F5C8D #871F8D #8D501F
square
#258D1F #1F5C8D #871F8D #8D501F
split-complementary
#258D1F #501F8D #8D1F5C
monochromatic
#0B2909 #185B14 #258D1F #32BF2A #56D84E
Accessibility & contrast
On white
4.28
#258D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#258D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #258D1F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##258D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##258D1F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#018978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #258d1f; /* rgb */ color: rgb(37, 141, 31); /* oklch */ color: oklch(56.4% 0.172 142.3);
Tailwind
colors: {
custom: {
50: '#71af63',
500: '#258d1f',
950: '#000000',
},
}SCSS
$custom: #258d1f; $custom-light: #71af63; $custom-dark: #000000;
JSON
{
"hex": "#258d1f",
"rgb": {
"r": 37,
"g": 141,
"b": 31
},
"hsl": {
"h": 116.727,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56391,
"c": 0.17191,
"h": 142.3
},
"luminance": 0.19542
}Semantic roles & 50–950 ramp
primary
#258D1F
secondary
#B54DBB
accent
#41E7DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A