#125726#125726
#125726 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.104 H 148.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #125726 |
|---|---|
| RGB | rgb(18, 87, 38) |
| HSL | hsl(137, 66%, 21%) |
| HSV | hsv(137, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 56.3%, 65.9%) |
| CIE-LAB | lab(32.00, -32.87, 22.42) |
| CIE-LCH | lch(32.00, 39.79, 145.70°) |
| OKLab | oklab(40.28% -0.0884 0.0541) |
| OKLCH | oklch(40.28% 0.104 148.5) |
| XYZ | xyz(4.0072, 7.0845, 2.9896) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.61
Pine
#2B5D34
ΔE00 3.76
Spruce
#0A5F38
ΔE00 4.32
Deep Green
#02590F
ΔE00 4.67
Pine Green
#0A481E
ΔE00 4.76
Forest
#0B5509
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125726 #571243
analogous
#215712 #125726 #125748
triadic
#125726 #261257 #572612
tetradic
#125726 #122157 #571243 #574812
square
#125726 #122157 #571243 #574812
split-complementary
#125726 #481257 #571221
monochromatic
#05190B #082410 #125726 #1C8A3C #27BC52
Accessibility & contrast
On white
8.69
#125726 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#125726 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125726
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125726 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F22
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #125726; /* rgb */ color: rgb(18, 87, 38); /* oklch */ color: oklch(40.3% 0.104 148.5);
Tailwind
colors: {
custom: {
50: '#5c8761',
500: '#125726',
950: '#000000',
},
}SCSS
$custom: #125726; $custom-light: #5c8761; $custom-dark: #000000;
JSON
{
"hex": "#125726",
"rgb": {
"r": 18,
"g": 87,
"b": 38
},
"hsl": {
"h": 137.391,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40276,
"c": 0.10365,
"h": 148.5
},
"luminance": 0.07085
}Semantic roles & 50–950 ramp
primary
#125726
secondary
#903575
accent
#3FB8E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79