#125B24#125B24
#125B24 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.111 H 147.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #125B24 |
|---|---|
| RGB | rgb(18, 91, 36) |
| HSL | hsl(135, 67%, 21%) |
| HSV | hsv(135, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 60.4%, 64.3%) |
| CIE-LAB | lab(33.43, -34.78, 25.26) |
| CIE-LCH | lch(33.43, 42.98, 144.01°) |
| OKLab | oklab(41.45% -0.0936 0.0602) |
| OKLCH | oklch(41.45% 0.111 147.3) |
| XYZ | xyz(4.3087, 7.7376, 2.9352) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.40
Deep Green
#02590F
ΔE00 3.53
Pine
#2B5D34
ΔE00 4.13
Forest
#0B5509
ΔE00 4.34
Spruce
#0A5F38
ΔE00 4.79
British Racing Green
#05480D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B24 #5B1249
analogous
#255B12 #125B24 #125B49
triadic
#125B24 #24125B #5B2412
tetradic
#125B24 #12255B #5B1249 #5B4912
square
#125B24 #12255B #5B1249 #5B4912
split-complementary
#125B24 #49125B #5B1225
monochromatic
#051A0A #082810 #125B24 #1C8E38 #26C14C
Accessibility & contrast
On white
8.24
#125B24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#125B24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B24
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B24 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521F
Deuteranopia (green-blind)
#544C28
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b24; /* rgb */ color: rgb(18, 91, 36); /* oklch */ color: oklch(41.5% 0.111 147.3);
Tailwind
colors: {
custom: {
50: '#5d8a60',
500: '#125b24',
950: '#000000',
},
}SCSS
$custom: #125b24; $custom-light: #5d8a60; $custom-dark: #000000;
JSON
{
"hex": "#125b24",
"rgb": {
"r": 18,
"g": 91,
"b": 36
},
"hsl": {
"h": 134.795,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41453,
"c": 0.1113,
"h": 147.3
},
"luminance": 0.07738
}Semantic roles & 50–950 ramp
primary
#125B24
secondary
#93357C
accent
#3EBFEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79