#125E2F#125E2F
#125E2F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.105 H 151.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #125E2F |
|---|---|
| RGB | rgb(18, 94, 47) |
| HSL | hsl(143, 68%, 22%) |
| HSV | hsv(143, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 50%, 63.1%) |
| CIE-LAB | lab(34.68, -34.08, 20.63) |
| CIE-LCH | lch(34.68, 39.84, 148.81°) |
| OKLab | oklab(42.54% -0.0916 0.0505) |
| OKLCH | oklch(42.54% 0.105 151.1) |
| XYZ | xyz(4.7648, 8.3387, 4.0472) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.47
Pine
#2B5D34
ΔE00 3.05
Forest Green
#2D5A27
ΔE00 4.35
Hunter Green
#355E3B
ΔE00 5.16
Deep Green
#02590F
ΔE00 5.83
Forest
#0B5509
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E2F #5E1241
analogous
#1B5E12 #125E2F #125E55
triadic
#125E2F #2F125E #5E2F12
tetradic
#125E2F #121B5E #5E1241 #5E5512
square
#125E2F #121B5E #5E1241 #5E5512
split-complementary
#125E2F #55125E #5E121B
monochromatic
#051A0D #082B15 #125E2F #1C9149 #26C562
Accessibility & contrast
On white
7.87
#125E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#125E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E2F
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E2F | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125e2f; /* rgb */ color: rgb(18, 94, 47); /* oklch */ color: oklch(42.5% 0.105 151.1);
Tailwind
colors: {
custom: {
50: '#5e8c68',
500: '#125e2f',
950: '#000000',
},
}SCSS
$custom: #125e2f; $custom-light: #5e8c68; $custom-dark: #000000;
JSON
{
"hex": "#125e2f",
"rgb": {
"r": 18,
"g": 94,
"b": 47
},
"hsl": {
"h": 142.895,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42539,
"c": 0.10462,
"h": 151.1
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#125E2F
secondary
#963571
accent
#3DA8EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A