#125A2D#125A2D
#125A2D is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.101 H 151.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #125A2D |
|---|---|
| RGB | rgb(18, 90, 45) |
| HSL | hsl(143, 67%, 21%) |
| HSV | hsv(143, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 50%, 64.7%) |
| CIE-LAB | lab(33.20, -32.82, 19.91) |
| CIE-LCH | lch(33.20, 38.39, 148.76°) |
| OKLab | oklab(41.31% -0.0883 0.0488) |
| OKLCH | oklch(41.31% 0.101 151.1) |
| XYZ | xyz(4.3789, 7.6299, 3.7240) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.75
Pine
#2B5D34
ΔE00 3.01
Forest Green
#2D5A27
ΔE00 4.19
Hunter Green
#355E3B
ΔE00 5.11
Pine Green
#0A481E
ΔE00 5.63
Deep Green
#02590F
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A2D #5A123F
analogous
#1B5A12 #125A2D #125A51
triadic
#125A2D #2D125A #5A2D12
tetradic
#125A2D #121B5A #5A123F #5A5112
square
#125A2D #121B5A #5A123F #5A5112
split-complementary
#125A2D #51125A #5A121B
monochromatic
#051A0D #082713 #125A2D #1C8D46 #26C060
Accessibility & contrast
On white
8.31
#125A2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#125A2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A2D
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A2D | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522A
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a2d; /* rgb */ color: rgb(18, 90, 45); /* oklch */ color: oklch(41.3% 0.101 151.1);
Tailwind
colors: {
custom: {
50: '#5d8966',
500: '#125a2d',
950: '#000000',
},
}SCSS
$custom: #125a2d; $custom-light: #5d8966; $custom-dark: #000000;
JSON
{
"hex": "#125a2d",
"rgb": {
"r": 18,
"g": 90,
"b": 45
},
"hsl": {
"h": 142.5,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41305,
"c": 0.10085,
"h": 151.1
},
"luminance": 0.0763
}Semantic roles & 50–950 ramp
primary
#125A2D
secondary
#933570
accent
#3EA9EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A