#125F34#125F34
#125F34 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.101 H 153.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #125F34 |
|---|---|
| RGB | rgb(18, 95, 52) |
| HSL | hsl(146, 68%, 22%) |
| HSV | hsv(146, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 45.3%, 62.7%) |
| CIE-LAB | lab(35.12, -33.50, 18.29) |
| CIE-LCH | lch(35.12, 38.17, 151.37°) |
| OKLab | oklab(42.93% -0.0902 0.0453) |
| OKLCH | oklch(42.93% 0.101 153.3) |
| XYZ | xyz(4.9610, 8.5604, 4.6390) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.33
Pine
#2B5D34
ΔE00 3.03
Hunter Green
#355E3B
ΔE00 4.82
Forest Green
#2D5A27
ΔE00 5.13
Deep Green
#02590F
ΔE00 7.00
Pine Green
#0A481E
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F34 #5F123D
analogous
#165F12 #125F34 #125F5B
triadic
#125F34 #34125F #5F3412
tetradic
#125F34 #12165F #5F123D #5F5B12
square
#125F34 #12165F #5F123D #5F5B12
split-complementary
#125F34 #5B125F #5F1216
monochromatic
#051A0E #082C18 #125F34 #1C9250 #25C66C
Accessibility & contrast
On white
7.74
#125F34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#125F34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F34
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F34 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5631
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #125f34; /* rgb */ color: rgb(18, 95, 52); /* oklch */ color: oklch(42.9% 0.101 153.3);
Tailwind
colors: {
custom: {
50: '#5e8d6c',
500: '#125f34',
950: '#000000',
},
}SCSS
$custom: #125f34; $custom-light: #5e8d6c; $custom-dark: #000000;
JSON
{
"hex": "#125f34",
"rgb": {
"r": 18,
"g": 95,
"b": 52
},
"hsl": {
"h": 146.494,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42934,
"c": 0.10091,
"h": 153.3
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#125F34
secondary
#97366C
accent
#3D9EEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A