#125E2D#125E2D
#125E2D is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.107 H 150.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #125E2D |
|---|---|
| RGB | rgb(18, 94, 45) |
| HSL | hsl(141, 68%, 22%) |
| HSV | hsv(141, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 52.1%, 63.1%) |
| CIE-LAB | lab(34.65, -34.45, 21.74) |
| CIE-LCH | lch(34.65, 40.74, 147.75°) |
| OKLab | oklab(42.5% -0.0926 0.0529) |
| OKLCH | oklch(42.5% 0.107 150.2) |
| XYZ | xyz(4.7254, 8.3229, 3.8396) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.98
Pine
#2B5D34
ΔE00 3.22
Forest Green
#2D5A27
ΔE00 4.11
Deep Green
#02590F
ΔE00 5.34
Hunter Green
#355E3B
ΔE00 5.39
Forest
#0B5509
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E2D #5E1243
analogous
#1D5E12 #125E2D #125E53
triadic
#125E2D #2D125E #5E2D12
tetradic
#125E2D #121D5E #5E1243 #5E5312
square
#125E2D #121D5E #5E1243 #5E5312
split-complementary
#125E2D #53125E #5E121D
monochromatic
#051A0C #082B14 #125E2D #1C9146 #26C55E
Accessibility & contrast
On white
7.88
#125E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#125E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E2D
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E2D | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5529
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e2d; /* rgb */ color: rgb(18, 94, 45); /* oklch */ color: oklch(42.5% 0.107 150.2);
Tailwind
colors: {
custom: {
50: '#5e8c67',
500: '#125e2d',
950: '#000000',
},
}SCSS
$custom: #125e2d; $custom-light: #5e8c67; $custom-dark: #000000;
JSON
{
"hex": "#125e2d",
"rgb": {
"r": 18,
"g": 94,
"b": 45
},
"hsl": {
"h": 141.316,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42502,
"c": 0.10666,
"h": 150.2
},
"luminance": 0.08323
}Semantic roles & 50–950 ramp
primary
#125E2D
secondary
#963574
accent
#3DADEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A