#125A28#125A28
#125A28 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.106 H 148.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #125A28 |
|---|---|
| RGB | rgb(18, 90, 40) |
| HSL | hsl(138, 67%, 21%) |
| HSV | hsv(138, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 55.6%, 64.7%) |
| CIE-LAB | lab(33.12, -33.73, 22.67) |
| CIE-LCH | lch(33.12, 40.64, 146.09°) |
| OKLab | oklab(41.22% -0.0907 0.0548) |
| OKLCH | oklch(41.22% 0.106 148.9) |
| XYZ | xyz(4.2883, 7.5936, 3.2468) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.48
Forest Green
#2D5A27
ΔE00 3.58
Spruce
#0A5F38
ΔE00 3.85
Deep Green
#02590F
ΔE00 4.59
Forest
#0B5509
ΔE00 5.27
Pine Green
#0A481E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A28 #5A1244
analogous
#205A12 #125A28 #125A4C
triadic
#125A28 #28125A #5A2812
tetradic
#125A28 #12205A #5A1244 #5A4C12
square
#125A28 #12205A #5A1244 #5A4C12
split-complementary
#125A28 #4C125A #5A1220
monochromatic
#051A0B #082711 #125A28 #1C8D3F #26C055
Accessibility & contrast
On white
8.34
#125A28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A28
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A28 | 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)
#5B5124
Deuteranopia (green-blind)
#524C2C
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a28; /* rgb */ color: rgb(18, 90, 40); /* oklch */ color: oklch(41.2% 0.106 148.9);
Tailwind
colors: {
custom: {
50: '#5d8963',
500: '#125a28',
950: '#000000',
},
}SCSS
$custom: #125a28; $custom-light: #5d8963; $custom-dark: #000000;
JSON
{
"hex": "#125a28",
"rgb": {
"r": 18,
"g": 90,
"b": 40
},
"hsl": {
"h": 138.333,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41215,
"c": 0.10596,
"h": 148.9
},
"luminance": 0.07594
}Semantic roles & 50–950 ramp
primary
#125A28
secondary
#933576
accent
#3EB5EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79