#125A24#125A24
#125A24 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.110 H 147.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #125A24 |
|---|---|
| RGB | rgb(18, 90, 36) |
| HSL | hsl(135, 67%, 21%) |
| HSV | hsv(135, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 60%, 64.7%) |
| CIE-LAB | lab(33.07, -34.39, 24.82) |
| CIE-LCH | lch(33.07, 42.41, 144.18°) |
| OKLab | oklab(41.15% -0.0926 0.0593) |
| OKLCH | oklch(41.15% 0.11 147.4) |
| XYZ | xyz(4.2237, 7.5678, 2.9069) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.37
Deep Green
#02590F
ΔE00 3.65
Pine
#2B5D34
ΔE00 4.06
Forest
#0B5509
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.74
British Racing Green
#05480D
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A24 #5A1248
analogous
#245A12 #125A24 #125A48
triadic
#125A24 #24125A #5A2412
tetradic
#125A24 #12245A #5A1248 #5A4812
square
#125A24 #12245A #5A1248 #5A4812
split-complementary
#125A24 #48125A #5A1224
monochromatic
#051A0A #082710 #125A24 #1C8D38 #26C04D
Accessibility & contrast
On white
8.35
#125A24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#125A24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A24
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A24 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B511F
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a24; /* rgb */ color: rgb(18, 90, 36); /* oklch */ color: oklch(41.2% 0.110 147.4);
Tailwind
colors: {
custom: {
50: '#5d8960',
500: '#125a24',
950: '#000000',
},
}SCSS
$custom: #125a24; $custom-light: #5d8960; $custom-dark: #000000;
JSON
{
"hex": "#125a24",
"rgb": {
"r": 18,
"g": 90,
"b": 36
},
"hsl": {
"h": 135,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41151,
"c": 0.1099,
"h": 147.4
},
"luminance": 0.07568
}Semantic roles & 50–950 ramp
primary
#125A24
secondary
#93357B
accent
#3EBFEA
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79