#125928#125928
#125928 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.105 H 149.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #125928 |
|---|---|
| RGB | rgb(18, 89, 40) |
| HSL | hsl(139, 66%, 21%) |
| HSV | hsv(139, 80%, 35%) |
| CMYK | cmyk(79.8%, 0%, 55.1%, 65.1%) |
| CIE-LAB | lab(32.76, -33.33, 22.22) |
| CIE-LCH | lch(32.76, 40.06, 146.31°) |
| OKLab | oklab(40.91% -0.0896 0.0538) |
| OKLCH | oklch(40.91% 0.105 149) |
| XYZ | xyz(4.2045, 7.4261, 3.2189) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 3.62
Spruce
#0A5F38
ΔE00 3.84
Deep Green
#02590F
ΔE00 4.76
Forest
#0B5509
ΔE00 5.36
Pine Green
#0A481E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125928 #591243
analogous
#1F5912 #125928 #12594B
triadic
#125928 #281259 #592812
tetradic
#125928 #121F59 #591243 #594B12
square
#125928 #121F59 #591243 #594B12
split-complementary
#125928 #4B1259 #59121F
monochromatic
#05190B #082611 #125928 #1C8C3F #27BF56
Accessibility & contrast
On white
8.45
#125928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#125928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125928
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125928 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #125928; /* rgb */ color: rgb(18, 89, 40); /* oklch */ color: oklch(40.9% 0.105 149.0);
Tailwind
colors: {
custom: {
50: '#5d8963',
500: '#125928',
950: '#000000',
},
}SCSS
$custom: #125928; $custom-light: #5d8963; $custom-dark: #000000;
JSON
{
"hex": "#125928",
"rgb": {
"r": 18,
"g": 89,
"b": 40
},
"hsl": {
"h": 138.592,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.40914,
"c": 0.10452,
"h": 149
},
"luminance": 0.07427
}Semantic roles & 50–950 ramp
primary
#125928
secondary
#923575
accent
#3FB4E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79