#125E27#125E27
#125E27 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.113 H 147.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #125E27 |
|---|---|
| RGB | rgb(18, 94, 39) |
| HSL | hsl(137, 68%, 22%) |
| HSV | hsv(137, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 58.5%, 63.1%) |
| CIE-LAB | lab(34.56, -35.48, 24.98) |
| CIE-LCH | lch(34.56, 43.39, 144.85°) |
| OKLab | oklab(42.4% -0.0954 0.0598) |
| OKLCH | oklch(42.4% 0.113 147.9) |
| XYZ | xyz(4.6180, 8.2799, 3.2739) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.72
Deep Green
#02590F
ΔE00 3.99
Pine
#2B5D34
ΔE00 4.02
Spruce
#0A5F38
ΔE00 4.42
Forest
#0B5509
ΔE00 5.01
Hunter Green
#355E3B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E27 #5E1249
analogous
#235E12 #125E27 #125E4D
triadic
#125E27 #27125E #5E2712
tetradic
#125E27 #12235E #5E1249 #5E4D12
square
#125E27 #12235E #5E1249 #5E4D12
split-complementary
#125E27 #4D125E #5E1223
monochromatic
#051A0B #082B12 #125E27 #1C913C #26C552
Accessibility & contrast
On white
7.91
#125E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#125E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E27
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E27 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e27; /* rgb */ color: rgb(18, 94, 39); /* oklch */ color: oklch(42.4% 0.113 147.9);
Tailwind
colors: {
custom: {
50: '#5e8c63',
500: '#125e27',
950: '#000000',
},
}SCSS
$custom: #125e27; $custom-light: #5e8c63; $custom-dark: #000000;
JSON
{
"hex": "#125e27",
"rgb": {
"r": 18,
"g": 94,
"b": 39
},
"hsl": {
"h": 136.579,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42401,
"c": 0.11262,
"h": 147.9
},
"luminance": 0.0828
}Semantic roles & 50–950 ramp
primary
#125E27
secondary
#96357C
accent
#3DBBEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79