#125C2E#125C2E
#125C2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.103 H 151.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #125C2E |
|---|---|
| RGB | rgb(18, 92, 46) |
| HSL | hsl(143, 67%, 22%) |
| HSV | hsv(143, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 50%, 63.9%) |
| CIE-LAB | lab(33.94, -33.45, 20.27) |
| CIE-LCH | lch(33.94, 39.12, 148.79°) |
| OKLab | oklab(41.92% -0.0899 0.0497) |
| OKLCH | oklch(41.92% 0.103 151.1) |
| XYZ | xyz(4.5693, 7.9796, 3.8836) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.53
Pine
#2B5D34
ΔE00 2.96
Forest Green
#2D5A27
ΔE00 4.22
Hunter Green
#355E3B
ΔE00 5.10
Deep Green
#02590F
ΔE00 5.81
Pine Green
#0A481E
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C2E #5C1240
analogous
#1B5C12 #125C2E #125C53
triadic
#125C2E #2E125C #5C2E12
tetradic
#125C2E #121B5C #5C1240 #5C5312
square
#125C2E #121B5C #5C1240 #5C5312
split-complementary
#125C2E #53125C #5C121B
monochromatic
#051A0D #082914 #125C2E #1C8F48 #26C261
Accessibility & contrast
On white
8.09
#125C2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#125C2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C2E
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C2E | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c2e; /* rgb */ color: rgb(18, 92, 46); /* oklch */ color: oklch(41.9% 0.103 151.1);
Tailwind
colors: {
custom: {
50: '#5d8b67',
500: '#125c2e',
950: '#000000',
},
}SCSS
$custom: #125c2e; $custom-light: #5d8b67; $custom-dark: #000000;
JSON
{
"hex": "#125c2e",
"rgb": {
"r": 18,
"g": 92,
"b": 46
},
"hsl": {
"h": 142.703,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41923,
"c": 0.10274,
"h": 151.1
},
"luminance": 0.0798
}Semantic roles & 50–950 ramp
primary
#125C2E
secondary
#943570
accent
#3EA9EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A