#125C2A#125C2A
#125C2A is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.107 H 149.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #125C2A |
|---|---|
| RGB | rgb(18, 92, 42) |
| HSL | hsl(139, 67%, 22%) |
| HSV | hsv(139, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(33.88, -34.19, 22.48) |
| CIE-LCH | lch(33.88, 40.91, 146.67°) |
| OKLab | oklab(41.85% -0.0919 0.0545) |
| OKLCH | oklch(41.85% 0.107 149.4) |
| XYZ | xyz(4.4942, 7.9495, 3.4876) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.35
Spruce
#0A5F38
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 3.75
Deep Green
#02590F
ΔE00 4.81
Hunter Green
#355E3B
ΔE00 5.58
Forest
#0B5509
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C2A #5C1244
analogous
#1F5C12 #125C2A #125C4F
triadic
#125C2A #2A125C #5C2A12
tetradic
#125C2A #121F5C #5C1244 #5C4F12
square
#125C2A #121F5C #5C1244 #5C4F12
split-complementary
#125C2A #4F125C #5C121F
monochromatic
#051A0C #082913 #125C2A #1C8F41 #26C259
Accessibility & contrast
On white
8.11
#125C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#125C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C2A
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C2A | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c2a; /* rgb */ color: rgb(18, 92, 42); /* oklch */ color: oklch(41.9% 0.107 149.4);
Tailwind
colors: {
custom: {
50: '#5d8b64',
500: '#125c2a',
950: '#000000',
},
}SCSS
$custom: #125c2a; $custom-light: #5d8b64; $custom-dark: #000000;
JSON
{
"hex": "#125c2a",
"rgb": {
"r": 18,
"g": 92,
"b": 42
},
"hsl": {
"h": 139.459,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.4185,
"c": 0.10682,
"h": 149.4
},
"luminance": 0.0795
}Semantic roles & 50–950 ramp
primary
#125C2A
secondary
#943576
accent
#3EB2EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A