#125B27#125B27
#125B27 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.108 H 148.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #125B27 |
|---|---|
| RGB | rgb(18, 91, 39) |
| HSL | hsl(137, 67%, 21%) |
| HSV | hsv(137, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 57.1%, 64.3%) |
| CIE-LAB | lab(33.47, -34.30, 23.66) |
| CIE-LCH | lch(33.47, 41.67, 145.40°) |
| OKLab | oklab(41.5% -0.0922 0.0569) |
| OKLCH | oklch(41.5% 0.108 148.3) |
| XYZ | xyz(4.3564, 7.7567, 3.1867) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.50
Pine
#2B5D34
ΔE00 3.67
Spruce
#0A5F38
ΔE00 4.12
Deep Green
#02590F
ΔE00 4.21
Forest
#0B5509
ΔE00 4.99
Hunter Green
#355E3B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B27 #5B1246
analogous
#225B12 #125B27 #125B4C
triadic
#125B27 #27125B #5B2712
tetradic
#125B27 #12225B #5B1246 #5B4C12
square
#125B27 #12225B #5B1246 #5B4C12
split-complementary
#125B27 #4C125B #5B1222
monochromatic
#051A0B #082811 #125B27 #1C8E3D #26C153
Accessibility & contrast
On white
8.23
#125B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#125B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B27
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B27 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5222
Deuteranopia (green-blind)
#544C2B
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b27; /* rgb */ color: rgb(18, 91, 39); /* oklch */ color: oklch(41.5% 0.108 148.3);
Tailwind
colors: {
custom: {
50: '#5d8a62',
500: '#125b27',
950: '#000000',
},
}SCSS
$custom: #125b27; $custom-light: #5d8a62; $custom-dark: #000000;
JSON
{
"hex": "#125b27",
"rgb": {
"r": 18,
"g": 91,
"b": 39
},
"hsl": {
"h": 137.26,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.415,
"c": 0.10839,
"h": 148.3
},
"luminance": 0.07757
}Semantic roles & 50–950 ramp
primary
#125B27
secondary
#933578
accent
#3EB8EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79