#125628#125628
#125628 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.100 H 149.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #125628 |
|---|---|
| RGB | rgb(18, 86, 40) |
| HSL | hsl(139, 65%, 20%) |
| HSV | hsv(139, 79%, 34%) |
| CMYK | cmyk(79.1%, 0%, 53.5%, 66.3%) |
| CIE-LAB | lab(31.66, -32.11, 20.86) |
| CIE-LCH | lch(31.66, 38.29, 146.99°) |
| OKLab | oklab(40.01% -0.0864 0.0507) |
| OKLCH | oklch(40.01% 0.1 149.6) |
| XYZ | xyz(3.9599, 6.9369, 3.1373) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 3.96
Spruce
#0A5F38
ΔE00 4.02
Pine Green
#0A481E
ΔE00 4.36
Deep Green
#02590F
ΔE00 5.41
British Racing Green
#05480D
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125628 #561240
analogous
#1E5612 #125628 #12564A
triadic
#125628 #281256 #562812
tetradic
#125628 #121E56 #561240 #564A12
square
#125628 #121E56 #561240 #564A12
split-complementary
#125628 #4A1256 #56121E
monochromatic
#05190C #072310 #125628 #1D8940 #27BB57
Accessibility & contrast
On white
8.80
#125628 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#125628 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125628
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125628 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #125628; /* rgb */ color: rgb(18, 86, 40); /* oklch */ color: oklch(40.0% 0.100 149.6);
Tailwind
colors: {
custom: {
50: '#5c8663',
500: '#125628',
950: '#000000',
},
}SCSS
$custom: #125628; $custom-light: #5c8663; $custom-dark: #000000;
JSON
{
"hex": "#125628",
"rgb": {
"r": 18,
"g": 86,
"b": 40
},
"hsl": {
"h": 139.412,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.40008,
"c": 0.10015,
"h": 149.6
},
"luminance": 0.06937
}Semantic roles & 50–950 ramp
primary
#125628
secondary
#8F3572
accent
#3FB2E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79