#125C12#125C12
#125C12 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.127 H 142.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #125C12 |
|---|---|
| RGB | rgb(18, 92, 18) |
| HSL | hsl(120, 67%, 22%) |
| HSV | hsv(120, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 80.4%, 63.9%) |
| CIE-LAB | lab(33.62, -37.31, 34.02) |
| CIE-LCH | lch(33.62, 50.49, 137.64°) |
| OKLab | oklab(41.55% -0.1013 0.0767) |
| OKLCH | oklch(41.55% 0.127 142.9) |
| XYZ | xyz(4.1855, 7.8261, 1.8621) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.27
Forest
#0B5509
ΔE00 2.24
Darkgreen
#006400
ΔE00 3.59
Forest Green
#2D5A27
ΔE00 4.77
Bottle Green
#044A05
ΔE00 5.61
Darkgreen (survey)
#054907
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C12 #5C125C
analogous
#375C12 #125C12 #125C37
triadic
#125C12 #12125C #5C1212
tetradic
#125C12 #12375C #5C125C #5C3712
square
#125C12 #12375C #5C125C #5C3712
split-complementary
#125C12 #37125C #5C1237
monochromatic
#051A05 #082908 #125C12 #1C8F1C #26C226
Accessibility & contrast
On white
8.19
#125C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#125C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C12
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C12 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c12; /* rgb */ color: rgb(18, 92, 18); /* oklch */ color: oklch(41.6% 0.127 142.9);
Tailwind
colors: {
custom: {
50: '#5f8b56',
500: '#125c12',
950: '#000000',
},
}SCSS
$custom: #125c12; $custom-light: #5f8b56; $custom-dark: #000000;
JSON
{
"hex": "#125c12",
"rgb": {
"r": 18,
"g": 92,
"b": 18
},
"hsl": {
"h": 120,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41552,
"c": 0.12702,
"h": 142.9
},
"luminance": 0.07827
}Semantic roles & 50–950 ramp
primary
#125C12
secondary
#943594
accent
#3EEAEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78