#125A27#125A27
#125A27 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.107 H 148.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #125A27 |
|---|---|
| RGB | rgb(18, 90, 39) |
| HSL | hsl(138, 67%, 21%) |
| HSV | hsv(138, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 56.7%, 64.7%) |
| CIE-LAB | lab(33.11, -33.90, 23.22) |
| CIE-LCH | lch(33.11, 41.09, 145.60°) |
| OKLab | oklab(41.2% -0.0912 0.0559) |
| OKLCH | oklch(41.2% 0.107 148.5) |
| XYZ | xyz(4.2715, 7.5869, 3.1584) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.50
Pine
#2B5D34
ΔE00 3.62
Spruce
#0A5F38
ΔE00 4.08
Deep Green
#02590F
ΔE00 4.35
Forest
#0B5509
ΔE00 5.04
Pine Green
#0A481E
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A27 #5A1245
analogous
#215A12 #125A27 #125A4B
triadic
#125A27 #27125A #5A2712
tetradic
#125A27 #12215A #5A1245 #5A4B12
square
#125A27 #12215A #5A1245 #5A4B12
split-complementary
#125A27 #4B125A #5A1221
monochromatic
#051A0B #082711 #125A27 #1C8D3D #26C053
Accessibility & contrast
On white
8.34
#125A27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A27
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A27 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5123
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a27; /* rgb */ color: rgb(18, 90, 39); /* oklch */ color: oklch(41.2% 0.107 148.5);
Tailwind
colors: {
custom: {
50: '#5d8962',
500: '#125a27',
950: '#000000',
},
}SCSS
$custom: #125a27; $custom-light: #5d8962; $custom-dark: #000000;
JSON
{
"hex": "#125a27",
"rgb": {
"r": 18,
"g": 90,
"b": 39
},
"hsl": {
"h": 137.5,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41199,
"c": 0.10696,
"h": 148.5
},
"luminance": 0.07587
}Semantic roles & 50–950 ramp
primary
#125A27
secondary
#933577
accent
#3EB8EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79