#125C22#125C22
#125C22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.115 H 146.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #125C22 |
|---|---|
| RGB | rgb(18, 92, 34) |
| HSL | hsl(133, 67%, 22%) |
| HSV | hsv(133, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 63%, 63.9%) |
| CIE-LAB | lab(33.77, -35.47, 26.72) |
| CIE-LCH | lch(33.77, 44.41, 143.00°) |
| OKLab | oklab(41.73% -0.0955 0.0632) |
| OKLCH | oklch(41.73% 0.115 146.5) |
| XYZ | xyz(4.3650, 7.8979, 2.8075) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.04
Forest Green
#2D5A27
ΔE00 3.50
Forest
#0B5509
ΔE00 3.98
Pine
#2B5D34
ΔE00 4.56
Spruce
#0A5F38
ΔE00 5.30
Darkgreen
#006400
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C22 #5C124C
analogous
#275C12 #125C22 #125C47
triadic
#125C22 #22125C #5C2212
tetradic
#125C22 #12275C #5C124C #5C4712
square
#125C22 #12275C #5C124C #5C4712
split-complementary
#125C22 #47125C #5C1227
monochromatic
#051A09 #08290F #125C22 #1C8F35 #26C248
Accessibility & contrast
On white
8.14
#125C22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#125C22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C22
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C22 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c22; /* rgb */ color: rgb(18, 92, 34); /* oklch */ color: oklch(41.7% 0.115 146.5);
Tailwind
colors: {
custom: {
50: '#5e8b5f',
500: '#125c22',
950: '#000000',
},
}SCSS
$custom: #125c22; $custom-light: #5e8b5f; $custom-dark: #000000;
JSON
{
"hex": "#125c22",
"rgb": {
"r": 18,
"g": 92,
"b": 34
},
"hsl": {
"h": 132.973,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41726,
"c": 0.11455,
"h": 146.5
},
"luminance": 0.07898
}Semantic roles & 50–950 ramp
primary
#125C22
secondary
#943580
accent
#3EC5EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79