#125E22#125E22
#125E22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.117 H 146.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #125E22 |
|---|---|
| RGB | rgb(18, 94, 34) |
| HSL | hsl(133, 68%, 22%) |
| HSV | hsv(133, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 63.8%, 63.1%) |
| CIE-LAB | lab(34.50, -36.23, 27.57) |
| CIE-LCH | lch(34.50, 45.53, 142.73°) |
| OKLab | oklab(42.33% -0.0976 0.0651) |
| OKLCH | oklch(42.33% 0.117 146.3) |
| XYZ | xyz(4.5406, 8.2490, 2.8660) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.03
Forest Green
#2D5A27
ΔE00 3.77
Forest
#0B5509
ΔE00 4.14
Pine
#2B5D34
ΔE00 4.82
Darkgreen
#006400
ΔE00 5.44
Spruce
#0A5F38
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E22 #5E124E
analogous
#285E12 #125E22 #125E48
triadic
#125E22 #22125E #5E2212
tetradic
#125E22 #12285E #5E124E #5E4812
square
#125E22 #12285E #5E124E #5E4812
split-complementary
#125E22 #48125E #5E1228
monochromatic
#051A09 #082B0F #125E22 #1C9135 #26C547
Accessibility & contrast
On white
7.93
#125E22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#125E22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E22
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E22 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e22; /* rgb */ color: rgb(18, 94, 34); /* oklch */ color: oklch(42.3% 0.117 146.3);
Tailwind
colors: {
custom: {
50: '#5e8c5f',
500: '#125e22',
950: '#000000',
},
}SCSS
$custom: #125e22; $custom-light: #5e8c5f; $custom-dark: #000000;
JSON
{
"hex": "#125e22",
"rgb": {
"r": 18,
"g": 94,
"b": 34
},
"hsl": {
"h": 132.632,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42328,
"c": 0.11729,
"h": 146.3
},
"luminance": 0.08249
}Semantic roles & 50–950 ramp
primary
#125E22
secondary
#963582
accent
#3DC6EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79