#125F2A#125F2A
#125F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.111 H 148.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2A |
|---|---|
| RGB | rgb(18, 95, 42) |
| HSL | hsl(139, 68%, 22%) |
| HSV | hsv(139, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(34.96, -35.38, 23.82) |
| CIE-LCH | lch(34.96, 42.65, 146.05°) |
| OKLab | oklab(42.75% -0.0951 0.0575) |
| OKLCH | oklch(42.75% 0.111 148.9) |
| XYZ | xyz(4.7592, 8.4796, 3.5759) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.75
Spruce
#0A5F38
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.61
Forest
#0B5509
ΔE00 5.63
Hunter Green
#355E3B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2A #5F1247
analogous
#215F12 #125F2A #125F51
triadic
#125F2A #2A125F #5F2A12
tetradic
#125F2A #12215F #5F1247 #5F5112
square
#125F2A #12215F #5F1247 #5F5112
split-complementary
#125F2A #51125F #5F1221
monochromatic
#051A0B #082C13 #125F2A #1C9241 #25C657
Accessibility & contrast
On white
7.79
#125F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2A
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2A | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2a; /* rgb */ color: rgb(18, 95, 42); /* oklch */ color: oklch(42.7% 0.111 148.9);
Tailwind
colors: {
custom: {
50: '#5e8d65',
500: '#125f2a',
950: '#000000',
},
}SCSS
$custom: #125f2a; $custom-light: #5e8d65; $custom-dark: #000000;
JSON
{
"hex": "#125f2a",
"rgb": {
"r": 18,
"g": 95,
"b": 42
},
"hsl": {
"h": 138.701,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42749,
"c": 0.1111,
"h": 148.9
},
"luminance": 0.0848
}Semantic roles & 50–950 ramp
primary
#125F2A
secondary
#973679
accent
#3DB5EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A