#125F12#125F12
#125F12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.131 H 142.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #125F12 |
|---|---|
| RGB | rgb(18, 95, 18) |
| HSL | hsl(120, 68%, 22%) |
| HSV | hsv(120, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.71, -38.38, 35.11) |
| CIE-LCH | lch(34.71, 52.01, 137.55°) |
| OKLab | oklab(42.46% -0.1042 0.079) |
| OKLCH | oklch(42.46% 0.131 142.8) |
| XYZ | xyz(4.4506, 8.3562, 1.9505) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.10
Darkgreen
#006400
ΔE00 2.74
Forest
#0B5509
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 5.24
Bottle Green
#044A05
ΔE00 6.57
Darkgreen (survey)
#054907
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F12 #5F125F
analogous
#395F12 #125F12 #125F39
triadic
#125F12 #12125F #5F1212
tetradic
#125F12 #12395F #5F125F #5F3912
square
#125F12 #12395F #5F125F #5F3912
split-complementary
#125F12 #39125F #5F1239
monochromatic
#051A05 #082C08 #125F12 #1C921C #25C625
Accessibility & contrast
On white
7.86
#125F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#125F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F12
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F12 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f12; /* rgb */ color: rgb(18, 95, 18); /* oklch */ color: oklch(42.5% 0.131 142.8);
Tailwind
colors: {
custom: {
50: '#5f8d56',
500: '#125f12',
950: '#000000',
},
}SCSS
$custom: #125f12; $custom-light: #5f8d56; $custom-dark: #000000;
JSON
{
"hex": "#125f12",
"rgb": {
"r": 18,
"g": 95,
"b": 18
},
"hsl": {
"h": 120,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42462,
"c": 0.13071,
"h": 142.8
},
"luminance": 0.08357
}Semantic roles & 50–950 ramp
primary
#125F12
secondary
#973697
accent
#3DEBEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78