#125728#125728
#125728 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.102 H 149.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #125728 |
|---|---|
| RGB | rgb(18, 87, 40) |
| HSL | hsl(139, 66%, 21%) |
| HSV | hsv(139, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 54%, 65.9%) |
| CIE-LAB | lab(32.03, -32.52, 21.32) |
| CIE-LCH | lch(32.03, 38.88, 146.75°) |
| OKLab | oklab(40.31% -0.0875 0.0517) |
| OKLCH | oklch(40.31% 0.102 149.4) |
| XYZ | xyz(4.0403, 7.0977, 3.1641) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.54
Forest Green
#2D5A27
ΔE00 3.82
Spruce
#0A5F38
ΔE00 3.93
Pine Green
#0A481E
ΔE00 4.69
Deep Green
#02590F
ΔE00 5.17
Forest
#0B5509
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125728 #571241
analogous
#1F5712 #125728 #12574A
triadic
#125728 #281257 #572812
tetradic
#125728 #121F57 #571241 #574A12
square
#125728 #121F57 #571241 #574A12
split-complementary
#125728 #4A1257 #57121F
monochromatic
#05190C #082411 #125728 #1C8A3F #27BC57
Accessibility & contrast
On white
8.68
#125728 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#125728 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125728
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125728 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #125728; /* rgb */ color: rgb(18, 87, 40); /* oklch */ color: oklch(40.3% 0.102 149.4);
Tailwind
colors: {
custom: {
50: '#5c8763',
500: '#125728',
950: '#000000',
},
}SCSS
$custom: #125728; $custom-light: #5c8763; $custom-dark: #000000;
JSON
{
"hex": "#125728",
"rgb": {
"r": 18,
"g": 87,
"b": 40
},
"hsl": {
"h": 139.13,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40311,
"c": 0.10161,
"h": 149.4
},
"luminance": 0.07098
}Semantic roles & 50–950 ramp
primary
#125728
secondary
#903573
accent
#3FB3E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79