#125F26#125F26
#125F26 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.115 H 147.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #125F26 |
|---|---|
| RGB | rgb(18, 95, 38) |
| HSL | hsl(136, 68%, 22%) |
| HSV | hsv(136, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 60%, 62.7%) |
| CIE-LAB | lab(34.91, -36.02, 25.94) |
| CIE-LCH | lch(34.91, 44.39, 144.24°) |
| OKLab | oklab(42.69% -0.0969 0.0619) |
| OKLCH | oklch(42.69% 0.115 147.5) |
| XYZ | xyz(4.6912, 8.4524, 3.2176) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.79
Forest Green
#2D5A27
ΔE00 3.85
Pine
#2B5D34
ΔE00 4.34
Spruce
#0A5F38
ΔE00 4.79
Forest
#0B5509
ΔE00 4.90
Darkgreen
#006400
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F26 #5F124B
analogous
#255F12 #125F26 #125F4D
triadic
#125F26 #26125F #5F2612
tetradic
#125F26 #12255F #5F124B #5F4D12
square
#125F26 #12255F #5F124B #5F4D12
split-complementary
#125F26 #4D125F #5F1225
monochromatic
#051A0A #082C11 #125F26 #1C923B #25C64F
Accessibility & contrast
On white
7.80
#125F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#125F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F26
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F26 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605621
Deuteranopia (green-blind)
#57502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f26; /* rgb */ color: rgb(18, 95, 38); /* oklch */ color: oklch(42.7% 0.115 147.5);
Tailwind
colors: {
custom: {
50: '#5e8d62',
500: '#125f26',
950: '#000000',
},
}SCSS
$custom: #125f26; $custom-light: #5e8d62; $custom-dark: #000000;
JSON
{
"hex": "#125f26",
"rgb": {
"r": 18,
"g": 95,
"b": 38
},
"hsl": {
"h": 135.584,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42686,
"c": 0.11497,
"h": 147.5
},
"luminance": 0.08453
}Semantic roles & 50–950 ramp
primary
#125F26
secondary
#97367E
accent
#3DBEEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79