#125927#125927
#125927 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.106 H 148.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #125927 |
|---|---|
| RGB | rgb(18, 89, 39) |
| HSL | hsl(138, 66%, 21%) |
| HSV | hsv(138, 80%, 35%) |
| CMYK | cmyk(79.8%, 0%, 56.2%, 65.1%) |
| CIE-LAB | lab(32.74, -33.50, 22.77) |
| CIE-LCH | lch(32.74, 40.51, 145.80°) |
| OKLab | oklab(40.9% -0.0901 0.0549) |
| OKLCH | oklch(40.9% 0.106 148.6) |
| XYZ | xyz(4.1877, 7.4194, 3.1304) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.53
Pine
#2B5D34
ΔE00 3.59
Spruce
#0A5F38
ΔE00 4.06
Deep Green
#02590F
ΔE00 4.52
Forest
#0B5509
ΔE00 5.11
Pine Green
#0A481E
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125927 #591244
analogous
#215912 #125927 #12594A
triadic
#125927 #271259 #592712
tetradic
#125927 #122159 #591244 #594A12
square
#125927 #122159 #591244 #594A12
split-complementary
#125927 #4A1259 #591221
monochromatic
#05190B #082611 #125927 #1C8C3D #27BF54
Accessibility & contrast
On white
8.45
#125927 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#125927 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125927
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125927 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125927 | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5123
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #125927; /* rgb */ color: rgb(18, 89, 39); /* oklch */ color: oklch(40.9% 0.106 148.6);
Tailwind
colors: {
custom: {
50: '#5d8962',
500: '#125927',
950: '#000000',
},
}SCSS
$custom: #125927; $custom-light: #5d8962; $custom-dark: #000000;
JSON
{
"hex": "#125927",
"rgb": {
"r": 18,
"g": 89,
"b": 39
},
"hsl": {
"h": 137.746,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.40897,
"c": 0.10553,
"h": 148.6
},
"luminance": 0.0742
}Semantic roles & 50–950 ramp
primary
#125927
secondary
#923576
accent
#3FB7E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79