#125D2D#125D2D
#125D2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.105 H 150.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #125D2D |
|---|---|
| RGB | rgb(18, 93, 45) |
| HSL | hsl(142, 68%, 22%) |
| HSV | hsv(142, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 51.6%, 63.5%) |
| CIE-LAB | lab(34.29, -34.05, 21.28) |
| CIE-LCH | lch(34.29, 40.15, 147.99°) |
| OKLab | oklab(42.2% -0.0915 0.0519) |
| OKLCH | oklch(42.2% 0.105 150.4) |
| XYZ | xyz(4.6371, 8.1462, 3.8101) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.85
Pine
#2B5D34
ΔE00 3.11
Forest Green
#2D5A27
ΔE00 4.08
Hunter Green
#355E3B
ΔE00 5.29
Deep Green
#02590F
ΔE00 5.43
Forest
#0B5509
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D2D #5D1242
analogous
#1D5D12 #125D2D #125D53
triadic
#125D2D #2D125D #5D2D12
tetradic
#125D2D #121D5D #5D1242 #5D5312
square
#125D2D #121D5D #5D1242 #5D5312
split-complementary
#125D2D #53125D #5D121D
monochromatic
#051A0C #082A14 #125D2D #1C9046 #26C45F
Accessibility & contrast
On white
7.99
#125D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#125D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D2D
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D2D | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5429
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125d2d; /* rgb */ color: rgb(18, 93, 45); /* oklch */ color: oklch(42.2% 0.105 150.4);
Tailwind
colors: {
custom: {
50: '#5d8c67',
500: '#125d2d',
950: '#000000',
},
}SCSS
$custom: #125d2d; $custom-light: #5d8c67; $custom-dark: #000000;
JSON
{
"hex": "#125d2d",
"rgb": {
"r": 18,
"g": 93,
"b": 45
},
"hsl": {
"h": 141.6,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.42203,
"c": 0.10522,
"h": 150.4
},
"luminance": 0.08147
}Semantic roles & 50–950 ramp
primary
#125D2D
secondary
#953573
accent
#3DACEA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A