#125028#125028
#125028 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.091 H 150.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #125028 |
|---|---|
| RGB | rgb(18, 80, 40) |
| HSL | hsl(141, 63%, 19%) |
| HSV | hsv(141, 78%, 31%) |
| CMYK | cmyk(77.5%, 0%, 50%, 68.6%) |
| CIE-LAB | lab(29.46, -29.59, 18.08) |
| CIE-LCH | lch(29.46, 34.67, 148.58°) |
| OKLab | oklab(38.19% -0.0797 0.0444) |
| OKLCH | oklch(38.19% 0.091 150.9) |
| XYZ | xyz(3.5008, 6.0187, 2.9843) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.67
Evergreen
#05472A
ΔE00 4.18
Pine
#2B5D34
ΔE00 4.76
Spruce
#0A5F38
ΔE00 5.09
Forest Green
#2D5A27
ΔE00 5.33
British Racing Green
#05480D
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125028 #50123A
analogous
#1B5012 #125028 #125047
triadic
#125028 #281250 #502812
tetradic
#125028 #121B50 #50123A #504712
square
#125028 #121B50 #50123A #504712
split-complementary
#125028 #471250 #50121B
monochromatic
#06190C #071E0F #125028 #1D8241 #28B45A
Accessibility & contrast
On white
9.53
#125028 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#125028 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125028
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125028 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125028 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504925
Deuteranopia (green-blind)
#49432B
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #125028; /* rgb */ color: rgb(18, 80, 40); /* oklch */ color: oklch(38.2% 0.091 150.9);
Tailwind
colors: {
custom: {
50: '#5a8262',
500: '#125028',
950: '#000000',
},
}SCSS
$custom: #125028; $custom-light: #5a8262; $custom-dark: #000000;
JSON
{
"hex": "#125028",
"rgb": {
"r": 18,
"g": 80,
"b": 40
},
"hsl": {
"h": 141.29,
"s": 63.265,
"l": 19.216
},
"oklch": {
"l": 0.38188,
"c": 0.09118,
"h": 150.9
},
"luminance": 0.06019
}Semantic roles & 50–950 ramp
primary
#125028
secondary
#89356B
accent
#41ACE6
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79