#125A26#125A26
#125A26 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.108 H 148.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #125A26 |
|---|---|
| RGB | rgb(18, 90, 38) |
| HSL | hsl(137, 67%, 21%) |
| HSV | hsv(137, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 57.8%, 64.7%) |
| CIE-LAB | lab(33.09, -34.07, 23.76) |
| CIE-LCH | lch(33.09, 41.53, 145.11°) |
| OKLab | oklab(41.18% -0.0916 0.0571) |
| OKLCH | oklch(41.18% 0.108 148.1) |
| XYZ | xyz(4.2551, 7.5804, 3.0722) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.44
Pine
#2B5D34
ΔE00 3.76
Deep Green
#02590F
ΔE00 4.11
Spruce
#0A5F38
ΔE00 4.30
Forest
#0B5509
ΔE00 4.81
Pine Green
#0A481E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A26 #5A1246
analogous
#225A12 #125A26 #125A4A
triadic
#125A26 #26125A #5A2612
tetradic
#125A26 #12225A #5A1246 #5A4A12
square
#125A26 #12225A #5A1246 #5A4A12
split-complementary
#125A26 #4A125A #5A1222
monochromatic
#051A0B #082710 #125A26 #1C8D3C #26C051
Accessibility & contrast
On white
8.35
#125A26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A26
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A26 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5121
Deuteranopia (green-blind)
#534C2A
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a26; /* rgb */ color: rgb(18, 90, 38); /* oklch */ color: oklch(41.2% 0.108 148.1);
Tailwind
colors: {
custom: {
50: '#5d8962',
500: '#125a26',
950: '#000000',
},
}SCSS
$custom: #125a26; $custom-light: #5d8962; $custom-dark: #000000;
JSON
{
"hex": "#125a26",
"rgb": {
"r": 18,
"g": 90,
"b": 38
},
"hsl": {
"h": 136.667,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41182,
"c": 0.10796,
"h": 148.1
},
"luminance": 0.07581
}Semantic roles & 50–950 ramp
primary
#125A26
secondary
#933579
accent
#3EBAEA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79