#125428#125428
#125428 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.097 H 150.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #125428 |
|---|---|
| RGB | rgb(18, 84, 40) |
| HSL | hsl(140, 65%, 20%) |
| HSV | hsv(140, 79%, 33%) |
| CMYK | cmyk(78.6%, 0%, 52.4%, 67.1%) |
| CIE-LAB | lab(30.93, -31.28, 19.94) |
| CIE-LCH | lch(30.93, 37.10, 147.48°) |
| OKLab | oklab(39.4% -0.0842 0.0486) |
| OKLCH | oklch(39.4% 0.097 150) |
| XYZ | xyz(3.8025, 6.6220, 3.0848) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.73
Pine
#2B5D34
ΔE00 3.91
Spruce
#0A5F38
ΔE00 4.28
Forest Green
#2D5A27
ΔE00 4.34
British Racing Green
#05480D
ΔE00 5.42
Evergreen
#05472A
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125428 #54123E
analogous
#1D5412 #125428 #125449
triadic
#125428 #281254 #542812
tetradic
#125428 #121D54 #54123E #544912
square
#125428 #121D54 #54123E #544912
split-complementary
#125428 #491254 #54121D
monochromatic
#05190C #072210 #125428 #1D8640 #28B958
Accessibility & contrast
On white
9.03
#125428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#125428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125428
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125428 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C24
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #125428; /* rgb */ color: rgb(18, 84, 40); /* oklch */ color: oklch(39.4% 0.097 150.0);
Tailwind
colors: {
custom: {
50: '#5b8563',
500: '#125428',
950: '#000000',
},
}SCSS
$custom: #125428; $custom-light: #5b8563; $custom-dark: #000000;
JSON
{
"hex": "#125428",
"rgb": {
"r": 18,
"g": 84,
"b": 40
},
"hsl": {
"h": 140,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.39403,
"c": 0.09719,
"h": 150
},
"luminance": 0.06622
}Semantic roles & 50–950 ramp
primary
#125428
secondary
#8D3570
accent
#40B0E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79