#125431#125431
#125431 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.088 H 155.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #125431 |
|---|---|
| RGB | rgb(18, 84, 49) |
| HSL | hsl(148, 65%, 20%) |
| HSV | hsv(148, 79%, 33%) |
| CMYK | cmyk(78.6%, 0%, 41.7%, 67.1%) |
| CIE-LAB | lab(31.09, -29.44, 14.78) |
| CIE-LCH | lch(31.09, 32.94, 153.35°) |
| OKLab | oklab(39.59% -0.0795 0.0369) |
| OKLCH | oklch(39.59% 0.088 155.1) |
| XYZ | xyz(3.9738, 6.6905, 3.9871) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.64
Pine
#2B5D34
ΔE00 4.26
Evergreen
#05472A
ΔE00 4.26
Pine Green
#0A481E
ΔE00 4.64
Hunter Green
#355E3B
ΔE00 5.35
Forest Green
#2D5A27
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125431 #541235
analogous
#145412 #125431 #125452
triadic
#125431 #311254 #543112
tetradic
#125431 #121454 #541235 #545212
square
#125431 #121454 #541235 #545212
split-complementary
#125431 #521254 #541214
monochromatic
#05190F #072214 #125431 #1D864E #28B96C
Accessibility & contrast
On white
8.98
#125431 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#125431 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125431
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125431 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #125431; /* rgb */ color: rgb(18, 84, 49); /* oklch */ color: oklch(39.6% 0.088 155.1);
Tailwind
colors: {
custom: {
50: '#5b8569',
500: '#125431',
950: '#000000',
},
}SCSS
$custom: #125431; $custom-light: #5b8569; $custom-dark: #000000;
JSON
{
"hex": "#125431",
"rgb": {
"r": 18,
"g": 84,
"b": 49
},
"hsl": {
"h": 148.182,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.39589,
"c": 0.08766,
"h": 155.1
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#125431
secondary
#8D3564
accent
#4099E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A