#125727#125727
#125727 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.103 H 149.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #125727 |
|---|---|
| RGB | rgb(18, 87, 39) |
| HSL | hsl(138, 66%, 21%) |
| HSV | hsv(138, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 55.2%, 65.9%) |
| CIE-LAB | lab(32.01, -32.70, 21.87) |
| CIE-LCH | lch(32.01, 39.34, 146.22°) |
| OKLab | oklab(40.29% -0.0879 0.0529) |
| OKLCH | oklch(40.29% 0.103 149) |
| XYZ | xyz(4.0235, 7.0910, 3.0757) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.64
Forest Green
#2D5A27
ΔE00 3.71
Spruce
#0A5F38
ΔE00 4.12
Pine Green
#0A481E
ΔE00 4.72
Deep Green
#02590F
ΔE00 4.92
Forest
#0B5509
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125727 #571242
analogous
#1F5712 #125727 #125749
triadic
#125727 #271257 #572712
tetradic
#125727 #121F57 #571242 #574912
square
#125727 #121F57 #571242 #574912
split-complementary
#125727 #491257 #57121F
monochromatic
#05190B #082410 #125727 #1C8A3E #27BC54
Accessibility & contrast
On white
8.68
#125727 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#125727 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125727
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125727 | 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)
#584F23
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #125727; /* rgb */ color: rgb(18, 87, 39); /* oklch */ color: oklch(40.3% 0.103 149.0);
Tailwind
colors: {
custom: {
50: '#5c8762',
500: '#125727',
950: '#000000',
},
}SCSS
$custom: #125727; $custom-light: #5c8762; $custom-dark: #000000;
JSON
{
"hex": "#125727",
"rgb": {
"r": 18,
"g": 87,
"b": 39
},
"hsl": {
"h": 138.261,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40293,
"c": 0.10264,
"h": 149
},
"luminance": 0.07091
}Semantic roles & 50–950 ramp
primary
#125727
secondary
#903574
accent
#3FB5E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79