#125C24#125C24
#125C24 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 147.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #125C24 |
|---|---|
| RGB | rgb(18, 92, 36) |
| HSL | hsl(135, 67%, 22%) |
| HSV | hsv(135, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 60.9%, 63.9%) |
| CIE-LAB | lab(33.79, -35.17, 25.69) |
| CIE-LCH | lch(33.79, 43.55, 143.85°) |
| OKLab | oklab(41.75% -0.0947 0.0612) |
| OKLCH | oklch(41.75% 0.113 147.1) |
| XYZ | xyz(4.3947, 7.9098, 2.9638) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 3.48
Pine
#2B5D34
ΔE00 4.23
Forest
#0B5509
ΔE00 4.35
Spruce
#0A5F38
ΔE00 4.87
Darkgreen
#006400
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C24 #5C124A
analogous
#255C12 #125C24 #125C49
triadic
#125C24 #24125C #5C2412
tetradic
#125C24 #12255C #5C124A #5C4912
square
#125C24 #12255C #5C124A #5C4912
split-complementary
#125C24 #49125C #5C1225
monochromatic
#051A0A #082910 #125C24 #1C8F38 #26C24C
Accessibility & contrast
On white
8.13
#125C24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#125C24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C24
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C24 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531F
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c24; /* rgb */ color: rgb(18, 92, 36); /* oklch */ color: oklch(41.8% 0.113 147.1);
Tailwind
colors: {
custom: {
50: '#5e8b60',
500: '#125c24',
950: '#000000',
},
}SCSS
$custom: #125c24; $custom-light: #5e8b60; $custom-dark: #000000;
JSON
{
"hex": "#125c24",
"rgb": {
"r": 18,
"g": 92,
"b": 36
},
"hsl": {
"h": 134.595,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41754,
"c": 0.11269,
"h": 147.1
},
"luminance": 0.0791
}Semantic roles & 50–950 ramp
primary
#125C24
secondary
#94357D
accent
#3EC0EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79