#125B20#125B20
#125B20 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.115 H 146.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #125B20 |
|---|---|
| RGB | rgb(18, 91, 32) |
| HSL | hsl(132, 67%, 21%) |
| HSV | hsv(132, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 64.8%, 64.3%) |
| CIE-LAB | lab(33.38, -35.37, 27.32) |
| CIE-LCH | lch(33.38, 44.69, 142.32°) |
| OKLab | oklab(41.4% -0.0953 0.0643) |
| OKLCH | oklch(41.4% 0.115 146) |
| XYZ | xyz(4.2509, 7.7146, 2.6312) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.69
Forest Green
#2D5A27
ΔE00 3.47
Forest
#0B5509
ΔE00 3.57
Pine
#2B5D34
ΔE00 4.79
Spruce
#0A5F38
ΔE00 5.64
Bottle Green
#044A05
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B20 #5B124D
analogous
#295B12 #125B20 #125B45
triadic
#125B20 #20125B #5B2012
tetradic
#125B20 #12295B #5B124D #5B4512
square
#125B20 #12295B #5B124D #5B4512
split-complementary
#125B20 #45125B #5B1229
monochromatic
#051A09 #08280E #125B20 #1C8E32 #26C144
Accessibility & contrast
On white
8.26
#125B20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#125B20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B20
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B20 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125b20; /* rgb */ color: rgb(18, 91, 32); /* oklch */ color: oklch(41.4% 0.115 146.0);
Tailwind
colors: {
custom: {
50: '#5d8a5e',
500: '#125b20',
950: '#000000',
},
}SCSS
$custom: #125b20; $custom-light: #5d8a5e; $custom-dark: #000000;
JSON
{
"hex": "#125b20",
"rgb": {
"r": 18,
"g": 91,
"b": 32
},
"hsl": {
"h": 131.507,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41396,
"c": 0.115,
"h": 146
},
"luminance": 0.07715
}Semantic roles & 50–950 ramp
primary
#125B20
secondary
#933581
accent
#3EC9EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79