#125B31#125B31
#125B31 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.098 H 152.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #125B31 |
|---|---|
| RGB | rgb(18, 91, 49) |
| HSL | hsl(145, 67%, 21%) |
| HSV | hsv(145, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 46.2%, 64.3%) |
| CIE-LAB | lab(33.63, -32.45, 18.12) |
| CIE-LCH | lch(33.63, 37.16, 150.83°) |
| OKLab | oklab(41.68% -0.0873 0.0448) |
| OKLCH | oklch(41.68% 0.098 152.9) |
| XYZ | xyz(4.5445, 7.8320, 4.1774) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.89
Pine
#2B5D34
ΔE00 2.91
Forest Green
#2D5A27
ΔE00 4.79
Hunter Green
#355E3B
ΔE00 4.79
Pine Green
#0A481E
ΔE00 6.06
Deep Green
#02590F
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B31 #5B123C
analogous
#185B12 #125B31 #125B56
triadic
#125B31 #31125B #5B3112
tetradic
#125B31 #12185B #5B123C #5B5612
square
#125B31 #12185B #5B123C #5B5612
split-complementary
#125B31 #56125B #5B1218
monochromatic
#051A0E #082815 #125B31 #1C8E4D #26C168
Accessibility & contrast
On white
8.18
#125B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#125B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B31
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B31 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B532E
Deuteranopia (green-blind)
#524D34
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b31; /* rgb */ color: rgb(18, 91, 49); /* oklch */ color: oklch(41.7% 0.098 152.9);
Tailwind
colors: {
custom: {
50: '#5d8a69',
500: '#125b31',
950: '#000000',
},
}SCSS
$custom: #125b31; $custom-light: #5d8a69; $custom-dark: #000000;
JSON
{
"hex": "#125b31",
"rgb": {
"r": 18,
"g": 91,
"b": 49
},
"hsl": {
"h": 145.479,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41684,
"c": 0.09816,
"h": 152.9
},
"luminance": 0.07833
}Semantic roles & 50–950 ramp
primary
#125B31
secondary
#93356B
accent
#3EA1EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A