#125231#125231
#125231 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.085 H 155.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #125231 |
|---|---|
| RGB | rgb(18, 82, 49) |
| HSL | hsl(149, 64%, 20%) |
| HSV | hsv(149, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 40.2%, 67.8%) |
| CIE-LAB | lab(30.36, -28.56, 13.81) |
| CIE-LCH | lch(30.36, 31.72, 154.20°) |
| OKLab | oklab(38.99% -0.0772 0.0346) |
| OKLCH | oklch(38.99% 0.085 155.9) |
| XYZ | xyz(3.8208, 6.3845, 3.9361) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.53
Spruce
#0A5F38
ΔE00 4.35
Pine Green
#0A481E
ΔE00 4.49
Pine
#2B5D34
ΔE00 4.87
Hunter Green
#355E3B
ΔE00 5.74
Forest Green
#2D5A27
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125231 #521233
analogous
#135212 #125231 #125251
triadic
#125231 #311252 #523112
tetradic
#125231 #121352 #521233 #525112
square
#125231 #121352 #521233 #525112
split-complementary
#125231 #511252 #521213
monochromatic
#06190F #072013 #125231 #1D844F #28B66D
Accessibility & contrast
On white
9.22
#125231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#125231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125231
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125231 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4533
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #125231; /* rgb */ color: rgb(18, 82, 49); /* oklch */ color: oklch(39.0% 0.085 155.9);
Tailwind
colors: {
custom: {
50: '#5a8369',
500: '#125231',
950: '#000000',
},
}SCSS
$custom: #125231; $custom-light: #5a8369; $custom-dark: #000000;
JSON
{
"hex": "#125231",
"rgb": {
"r": 18,
"g": 82,
"b": 49
},
"hsl": {
"h": 149.063,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38988,
"c": 0.08461,
"h": 155.9
},
"luminance": 0.06385
}Semantic roles & 50–950 ramp
primary
#125231
secondary
#8B3561
accent
#4196E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A