#125E21#125E21
#125E21 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.118 H 146.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #125E21 |
|---|---|
| RGB | rgb(18, 94, 33) |
| HSL | hsl(132, 68%, 22%) |
| HSV | hsv(132, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 64.9%, 63.1%) |
| CIE-LAB | lab(34.48, -36.37, 28.07) |
| CIE-LCH | lch(34.48, 45.95, 142.34°) |
| OKLab | oklab(42.32% -0.098 0.066) |
| OKLCH | oklch(42.32% 0.118 146) |
| XYZ | xyz(4.5263, 8.2433, 2.7911) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.86
Forest Green
#2D5A27
ΔE00 3.81
Forest
#0B5509
ΔE00 3.99
Pine
#2B5D34
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.25
Spruce
#0A5F38
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E21 #5E124F
analogous
#295E12 #125E21 #125E47
triadic
#125E21 #21125E #5E2112
tetradic
#125E21 #12295E #5E124F #5E4712
square
#125E21 #12295E #5E124F #5E4712
split-complementary
#125E21 #47125E #5E1229
monochromatic
#051A09 #082B0F #125E21 #1C9133 #26C545
Accessibility & contrast
On white
7.93
#125E21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#125E21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E21
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E21 | 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)
#5F551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e21; /* rgb */ color: rgb(18, 94, 33); /* oklch */ color: oklch(42.3% 0.118 146.0);
Tailwind
colors: {
custom: {
50: '#5e8c5f',
500: '#125e21',
950: '#000000',
},
}SCSS
$custom: #125e21; $custom-light: #5e8c5f; $custom-dark: #000000;
JSON
{
"hex": "#125e21",
"rgb": {
"r": 18,
"g": 94,
"b": 33
},
"hsl": {
"h": 131.842,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42315,
"c": 0.11818,
"h": 146
},
"luminance": 0.08244
}Semantic roles & 50–950 ramp
primary
#125E21
secondary
#963583
accent
#3DC8EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79