#125D2C#125D2C
#125D2C is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.106 H 150.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #125D2C |
|---|---|
| RGB | rgb(18, 93, 44) |
| HSL | hsl(141, 68%, 22%) |
| HSV | hsv(141, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 52.7%, 63.5%) |
| CIE-LAB | lab(34.27, -34.23, 21.83) |
| CIE-LCH | lch(34.27, 40.60, 147.47°) |
| OKLab | oklab(42.19% -0.092 0.0531) |
| OKLCH | oklch(42.19% 0.106 150) |
| XYZ | xyz(4.6180, 8.1386, 3.7099) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.10
Pine
#2B5D34
ΔE00 3.21
Forest Green
#2D5A27
ΔE00 3.97
Deep Green
#02590F
ΔE00 5.19
Hunter Green
#355E3B
ΔE00 5.41
Forest
#0B5509
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D2C #5D1243
analogous
#1E5D12 #125D2C #125D52
triadic
#125D2C #2C125D #5D2C12
tetradic
#125D2C #121E5D #5D1243 #5D5212
square
#125D2C #121E5D #5D1243 #5D5212
split-complementary
#125D2C #52125D #5D121E
monochromatic
#051A0C #082A14 #125D2C #1C9044 #26C45D
Accessibility & contrast
On white
7.99
#125D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#125D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D2C
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D2C | 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)
#5E5428
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125d2c; /* rgb */ color: rgb(18, 93, 44); /* oklch */ color: oklch(42.2% 0.106 150.0);
Tailwind
colors: {
custom: {
50: '#5e8c66',
500: '#125d2c',
950: '#000000',
},
}SCSS
$custom: #125d2c; $custom-light: #5e8c66; $custom-dark: #000000;
JSON
{
"hex": "#125d2c",
"rgb": {
"r": 18,
"g": 93,
"b": 44
},
"hsl": {
"h": 140.8,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.42185,
"c": 0.10624,
"h": 150
},
"luminance": 0.08139
}Semantic roles & 50–950 ramp
primary
#125D2C
secondary
#953574
accent
#3DAEEA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A