#125E12#125E12
#125E12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.130 H 142.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #125E12 |
|---|---|
| RGB | rgb(18, 94, 18) |
| HSL | hsl(120, 68%, 22%) |
| HSV | hsv(120, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.35, -38.02, 34.75) |
| CIE-LCH | lch(34.35, 51.51, 137.58°) |
| OKLab | oklab(42.16% -0.1032 0.0782) |
| OKLCH | oklch(42.16% 0.13 142.8) |
| XYZ | xyz(4.3611, 8.1772, 1.9207) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.80
Forest
#0B5509
ΔE00 2.84
Darkgreen
#006400
ΔE00 3.01
Forest Green
#2D5A27
ΔE00 5.07
Bottle Green
#044A05
ΔE00 6.25
Darkgreen (survey)
#054907
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E12 #5E125E
analogous
#385E12 #125E12 #125E38
triadic
#125E12 #12125E #5E1212
tetradic
#125E12 #12385E #5E125E #5E3812
square
#125E12 #12385E #5E125E #5E3812
split-complementary
#125E12 #38125E #5E1238
monochromatic
#051A05 #082B08 #125E12 #1C911C #26C526
Accessibility & contrast
On white
7.97
#125E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#125E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E12
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E12 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e12; /* rgb */ color: rgb(18, 94, 18); /* oklch */ color: oklch(42.2% 0.130 142.8);
Tailwind
colors: {
custom: {
50: '#5f8d56',
500: '#125e12',
950: '#000000',
},
}SCSS
$custom: #125e12; $custom-light: #5f8d56; $custom-dark: #000000;
JSON
{
"hex": "#125e12",
"rgb": {
"r": 18,
"g": 94,
"b": 18
},
"hsl": {
"h": 120,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42159,
"c": 0.1295,
"h": 142.8
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#125E12
secondary
#963596
accent
#3DEBEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78