#125C31#125C31
#125C31 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.100 H 152.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #125C31 |
|---|---|
| RGB | rgb(18, 92, 49) |
| HSL | hsl(145, 67%, 22%) |
| HSV | hsv(145, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 46.7%, 63.9%) |
| CIE-LAB | lab(33.99, -32.87, 18.58) |
| CIE-LCH | lch(33.99, 37.76, 150.51°) |
| OKLab | oklab(41.98% -0.0884 0.0459) |
| OKLCH | oklch(41.98% 0.1 152.6) |
| XYZ | xyz(4.6306, 8.0041, 4.2060) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.83
Pine
#2B5D34
ΔE00 2.88
Forest Green
#2D5A27
ΔE00 4.71
Hunter Green
#355E3B
ΔE00 4.82
Pine Green
#0A481E
ΔE00 6.34
Deep Green
#02590F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C31 #5C123D
analogous
#185C12 #125C31 #125C56
triadic
#125C31 #31125C #5C3112
tetradic
#125C31 #12185C #5C123D #5C5612
square
#125C31 #12185C #5C123D #5C5612
split-complementary
#125C31 #56125C #5C1218
monochromatic
#051A0E #082916 #125C31 #1C8F4C #26C268
Accessibility & contrast
On white
8.07
#125C31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#125C31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C31
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C31 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C542E
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c31; /* rgb */ color: rgb(18, 92, 49); /* oklch */ color: oklch(42.0% 0.100 152.6);
Tailwind
colors: {
custom: {
50: '#5d8b69',
500: '#125c31',
950: '#000000',
},
}SCSS
$custom: #125c31; $custom-light: #5d8b69; $custom-dark: #000000;
JSON
{
"hex": "#125c31",
"rgb": {
"r": 18,
"g": 92,
"b": 49
},
"hsl": {
"h": 145.135,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41982,
"c": 0.09963,
"h": 152.6
},
"luminance": 0.08005
}Semantic roles & 50–950 ramp
primary
#125C31
secondary
#94356D
accent
#3EA2EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A