#125F2E#125F2E
#125F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.107 H 150.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2E |
|---|---|
| RGB | rgb(18, 95, 46) |
| HSL | hsl(142, 68%, 22%) |
| HSV | hsv(142, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(35.02, -34.67, 21.64) |
| CIE-LCH | lch(35.02, 40.87, 148.03°) |
| OKLab | oklab(42.82% -0.0932 0.0528) |
| OKLCH | oklch(42.82% 0.107 150.5) |
| XYZ | xyz(4.8344, 8.5097, 3.9720) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.89
Pine
#2B5D34
ΔE00 3.27
Forest Green
#2D5A27
ΔE00 4.28
Hunter Green
#355E3B
ΔE00 5.39
Deep Green
#02590F
ΔE00 5.51
Forest
#0B5509
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2E #5F1243
analogous
#1D5F12 #125F2E #125F55
triadic
#125F2E #2E125F #5F2E12
tetradic
#125F2E #121D5F #5F1243 #5F5512
square
#125F2E #121D5F #5F1243 #5F5512
split-complementary
#125F2E #55125F #5F121D
monochromatic
#051A0C #082C15 #125F2E #1C9247 #25C660
Accessibility & contrast
On white
7.77
#125F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2E
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2E | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2e; /* rgb */ color: rgb(18, 95, 46); /* oklch */ color: oklch(42.8% 0.107 150.5);
Tailwind
colors: {
custom: {
50: '#5e8d67',
500: '#125f2e',
950: '#000000',
},
}SCSS
$custom: #125f2e; $custom-light: #5e8d67; $custom-dark: #000000;
JSON
{
"hex": "#125f2e",
"rgb": {
"r": 18,
"g": 95,
"b": 46
},
"hsl": {
"h": 141.818,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42818,
"c": 0.10708,
"h": 150.5
},
"luminance": 0.0851
}Semantic roles & 50–950 ramp
primary
#125F2E
secondary
#973674
accent
#3DACEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A