#125F38#125F38
#125F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.097 H 155.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #125F38 |
|---|---|
| RGB | rgb(18, 95, 56) |
| HSL | hsl(150, 68%, 22%) |
| HSV | hsv(150, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 41.1%, 62.7%) |
| CIE-LAB | lab(35.20, -32.65, 16.02) |
| CIE-LCH | lch(35.20, 36.37, 153.87°) |
| OKLab | oklab(43.02% -0.0881 0.04) |
| OKLCH | oklch(43.02% 0.097 155.6) |
| XYZ | xyz(5.0550, 8.5979, 5.1338) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 0.48
Pine
#2B5D34
ΔE00 3.33
Hunter Green
#355E3B
ΔE00 4.68
Forest Green
#2D5A27
ΔE00 5.91
Pine Green
#0A481E
ΔE00 7.60
Evergreen
#05472A
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F38 #5F1239
analogous
#135F12 #125F38 #125F5F
triadic
#125F38 #38125F #5F3812
tetradic
#125F38 #12135F #5F1239 #5F5F12
square
#125F38 #12135F #5F1239 #5F5F12
split-complementary
#125F38 #5F125F #5F1213
monochromatic
#051A0F #082C1A #125F38 #1C9256 #25C675
Accessibility & contrast
On white
7.72
#125F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#125F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F38
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F38 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #125f38; /* rgb */ color: rgb(18, 95, 56); /* oklch */ color: oklch(43.0% 0.097 155.6);
Tailwind
colors: {
custom: {
50: '#5e8d6f',
500: '#125f38',
950: '#000000',
},
}SCSS
$custom: #125f38; $custom-light: #5e8d6f; $custom-dark: #000000;
JSON
{
"hex": "#125f38",
"rgb": {
"r": 18,
"g": 95,
"b": 56
},
"hsl": {
"h": 149.61,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.43021,
"c": 0.09677,
"h": 155.6
},
"luminance": 0.08599
}Semantic roles & 50–950 ramp
primary
#125F38
secondary
#973667
accent
#3D95EB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A