#125229#125229
#125229 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.093 H 150.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #125229 |
|---|---|
| RGB | rgb(18, 82, 41) |
| HSL | hsl(142, 64%, 20%) |
| HSV | hsv(142, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 50%, 67.8%) |
| CIE-LAB | lab(30.21, -30.25, 18.45) |
| CIE-LCH | lch(30.21, 35.43, 148.62°) |
| OKLab | oklab(38.82% -0.0814 0.0453) |
| OKLCH | oklch(38.82% 0.093 150.9) |
| XYZ | xyz(3.6667, 6.3229, 3.1246) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.21
Pine
#2B5D34
ΔE00 4.28
Spruce
#0A5F38
ΔE00 4.54
Evergreen
#05472A
ΔE00 4.71
Forest Green
#2D5A27
ΔE00 4.96
British Racing Green
#05480D
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125229 #52123B
analogous
#1B5212 #125229 #125249
triadic
#125229 #291252 #522912
tetradic
#125229 #121B52 #52123B #524912
square
#125229 #121B52 #52123B #524912
split-complementary
#125229 #491252 #52121B
monochromatic
#06190D #072010 #125229 #1D8442 #28B65B
Accessibility & contrast
On white
9.27
#125229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#125229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125229
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125229 | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #125229; /* rgb */ color: rgb(18, 82, 41); /* oklch */ color: oklch(38.8% 0.093 150.9);
Tailwind
colors: {
custom: {
50: '#5b8363',
500: '#125229',
950: '#000000',
},
}SCSS
$custom: #125229; $custom-light: #5b8363; $custom-dark: #000000;
JSON
{
"hex": "#125229",
"rgb": {
"r": 18,
"g": 82,
"b": 41
},
"hsl": {
"h": 141.563,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38816,
"c": 0.09315,
"h": 150.9
},
"luminance": 0.06323
}Semantic roles & 50–950 ramp
primary
#125229
secondary
#8B356C
accent
#41ABE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79