#125C2F#125C2F
#125C2F is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.102 H 151.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #125C2F |
|---|---|
| RGB | rgb(18, 92, 47) |
| HSL | hsl(144, 67%, 22%) |
| HSV | hsv(144, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 48.9%, 63.9%) |
| CIE-LAB | lab(33.96, -33.26, 19.71) |
| CIE-LCH | lch(33.96, 38.66, 149.35°) |
| OKLab | oklab(41.94% -0.0894 0.0484) |
| OKLCH | oklch(41.94% 0.102 151.6) |
| XYZ | xyz(4.5893, 7.9876, 3.9887) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.29
Pine
#2B5D34
ΔE00 2.91
Forest Green
#2D5A27
ΔE00 4.37
Hunter Green
#355E3B
ΔE00 5.00
Deep Green
#02590F
ΔE00 6.07
Pine Green
#0A481E
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C2F #5C123F
analogous
#1A5C12 #125C2F #125C54
triadic
#125C2F #2F125C #5C2F12
tetradic
#125C2F #121A5C #5C123F #5C5412
square
#125C2F #121A5C #5C123F #5C5412
split-complementary
#125C2F #54125C #5C121A
monochromatic
#051A0D #082915 #125C2F #1C8F49 #26C263
Accessibility & contrast
On white
8.08
#125C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#125C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C2F
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C2F | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C542C
Deuteranopia (green-blind)
#544D32
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c2f; /* rgb */ color: rgb(18, 92, 47); /* oklch */ color: oklch(41.9% 0.102 151.6);
Tailwind
colors: {
custom: {
50: '#5d8b68',
500: '#125c2f',
950: '#000000',
},
}SCSS
$custom: #125c2f; $custom-light: #5d8b68; $custom-dark: #000000;
JSON
{
"hex": "#125c2f",
"rgb": {
"r": 18,
"g": 92,
"b": 47
},
"hsl": {
"h": 143.514,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41942,
"c": 0.1017,
"h": 151.6
},
"luminance": 0.07988
}Semantic roles & 50–950 ramp
primary
#125C2F
secondary
#94356F
accent
#3EA7EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A