#124A2D#124A2D
#124A2D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.076 H 156.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #124A2D |
|---|---|
| RGB | rgb(18, 74, 45) |
| HSL | hsl(149, 61%, 18%) |
| HSV | hsv(149, 76%, 29%) |
| CMYK | cmyk(75.7%, 0%, 39.2%, 71%) |
| CIE-LAB | lab(27.34, -25.84, 12.23) |
| CIE-LCH | lch(27.34, 28.59, 154.67°) |
| OKLab | oklab(36.47% -0.07 0.0307) |
| OKLCH | oklch(36.47% 0.076 156.3) |
| XYZ | xyz(3.1716, 5.2153, 3.3216) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 1.32
Pine Green
#0A481E
ΔE00 4.10
Spruce
#0A5F38
ΔE00 7.01
Pine
#2B5D34
ΔE00 7.05
Hunter Green
#355E3B
ΔE00 7.53
British Racing Green
#05480D
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124A2D #4A122F
analogous
#134A12 #124A2D #124A49
triadic
#124A2D #2D124A #4A2D12
tetradic
#124A2D #12134A #4A122F #4A4912
square
#124A2D #12134A #4A122F #4A4912
split-complementary
#124A2D #49124A #4A1213
monochromatic
#06190F #06190F #124A2D #1E7B4B #2AAC69
Accessibility & contrast
On white
10.28
#124A2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#124A2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124A2D
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124A2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124A2D | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#423F2F
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #124a2d; /* rgb */ color: rgb(18, 74, 45); /* oklch */ color: oklch(36.5% 0.076 156.3);
Tailwind
colors: {
custom: {
50: '#587d66',
500: '#124a2d',
950: '#000000',
},
}SCSS
$custom: #124a2d; $custom-light: #587d66; $custom-dark: #000000;
JSON
{
"hex": "#124a2d",
"rgb": {
"r": 18,
"g": 74,
"b": 45
},
"hsl": {
"h": 148.929,
"s": 60.87,
"l": 18.039
},
"oklch": {
"l": 0.36472,
"c": 0.07644,
"h": 156.3
},
"luminance": 0.05216
}Semantic roles & 50–950 ramp
primary
#124A2D
secondary
#83355D
accent
#4497E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A