#124D2F#124D2F
#124D2F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.079 H 156.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #124D2F |
|---|---|
| RGB | rgb(18, 77, 47) |
| HSL | hsl(149, 62%, 19%) |
| HSV | hsv(149, 77%, 30%) |
| CMYK | cmyk(76.6%, 0%, 39%, 69.8%) |
| CIE-LAB | lab(28.49, -26.75, 12.53) |
| CIE-LCH | lch(28.49, 29.54, 154.91°) |
| OKLab | oklab(37.43% -0.0725 0.0315) |
| OKLCH | oklch(37.43% 0.079 156.5) |
| XYZ | xyz(3.4161, 5.6412, 3.5976) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 2.00
Pine Green
#0A481E
ΔE00 4.19
Spruce
#0A5F38
ΔE00 6.05
Pine
#2B5D34
ΔE00 6.27
Hunter Green
#355E3B
ΔE00 6.83
Forest Green
#2D5A27
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124D2F #4D1230
analogous
#124D12 #124D2F #124D4C
triadic
#124D2F #2F124D #4D2F12
tetradic
#124D2F #12124D #4D1230 #4D4C12
square
#124D2F #12124D #4D1230 #4D4C12
split-complementary
#124D2F #4C124D #4D1212
monochromatic
#06190F #061B11 #124D2F #1E7F4D #29B06C
Accessibility & contrast
On white
9.87
#124D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#124D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124D2F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124D2F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #124d2f; /* rgb */ color: rgb(18, 77, 47); /* oklch */ color: oklch(37.4% 0.079 156.5);
Tailwind
colors: {
custom: {
50: '#597f67',
500: '#124d2f',
950: '#000000',
},
}SCSS
$custom: #124d2f; $custom-light: #597f67; $custom-dark: #000000;
JSON
{
"hex": "#124d2f",
"rgb": {
"r": 18,
"g": 77,
"b": 47
},
"hsl": {
"h": 149.492,
"s": 62.105,
"l": 18.627
},
"oklch": {
"l": 0.37431,
"c": 0.07902,
"h": 156.5
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#124D2F
secondary
#86355E
accent
#4395E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A