#125C20#125C20
#125C20 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.116 H 145.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #125C20 |
|---|---|
| RGB | rgb(18, 92, 32) |
| HSL | hsl(131, 67%, 22%) |
| HSV | hsv(131, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 65.2%, 63.9%) |
| CIE-LAB | lab(33.75, -35.75, 27.74) |
| CIE-LCH | lch(33.75, 45.25, 142.19°) |
| OKLab | oklab(41.7% -0.0964 0.0652) |
| OKLCH | oklch(41.7% 0.116 145.9) |
| XYZ | xyz(4.3370, 7.8867, 2.6599) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.65
Forest Green
#2D5A27
ΔE00 3.57
Forest
#0B5509
ΔE00 3.63
Pine
#2B5D34
ΔE00 4.89
Darkgreen
#006400
ΔE00 5.58
Spruce
#0A5F38
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C20 #5C124E
analogous
#295C12 #125C20 #125C45
triadic
#125C20 #20125C #5C2012
tetradic
#125C20 #12295C #5C124E #5C4512
square
#125C20 #12295C #5C124E #5C4512
split-complementary
#125C20 #45125C #5C1229
monochromatic
#051A09 #08290E #125C20 #1C8F32 #26C244
Accessibility & contrast
On white
8.15
#125C20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#125C20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C20
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C20 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5319
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c20; /* rgb */ color: rgb(18, 92, 32); /* oklch */ color: oklch(41.7% 0.116 145.9);
Tailwind
colors: {
custom: {
50: '#5e8b5e',
500: '#125c20',
950: '#000000',
},
}SCSS
$custom: #125c20; $custom-light: #5e8b5e; $custom-dark: #000000;
JSON
{
"hex": "#125c20",
"rgb": {
"r": 18,
"g": 92,
"b": 32
},
"hsl": {
"h": 131.351,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41699,
"c": 0.11637,
"h": 145.9
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#125C20
secondary
#943582
accent
#3ECAEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79