#124F2D#124F2D
#124F2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.084 H 154.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #124F2D |
|---|---|
| RGB | rgb(18, 79, 45) |
| HSL | hsl(147, 63%, 19%) |
| HSV | hsv(147, 77%, 31%) |
| CMYK | cmyk(77.2%, 0%, 43%, 69%) |
| CIE-LAB | lab(29.18, -28.11, 14.69) |
| CIE-LCH | lch(29.18, 31.72, 152.41°) |
| OKLab | oklab(37.99% -0.0759 0.0366) |
| OKLCH | oklch(37.99% 0.084 154.2) |
| XYZ | xyz(3.5188, 5.9096, 3.4373) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 2.87
Pine Green
#0A481E
ΔE00 3.48
Spruce
#0A5F38
ΔE00 5.22
Pine
#2B5D34
ΔE00 5.32
Hunter Green
#355E3B
ΔE00 6.26
Forest Green
#2D5A27
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124F2D #4F1234
analogous
#164F12 #124F2D #124F4C
triadic
#124F2D #2D124F #4F2D12
tetradic
#124F2D #12164F #4F1234 #4F4C12
square
#124F2D #12164F #4F1234 #4F4C12
split-complementary
#124F2D #4C124F #4F1216
monochromatic
#06190E #071D11 #124F2D #1D8149 #29B366
Accessibility & contrast
On white
9.62
#124F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#124F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124F2D
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124F2D | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#47432F
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #124f2d; /* rgb */ color: rgb(18, 79, 45); /* oklch */ color: oklch(38.0% 0.084 154.2);
Tailwind
colors: {
custom: {
50: '#5a8166',
500: '#124f2d',
950: '#000000',
},
}SCSS
$custom: #124f2d; $custom-light: #5a8166; $custom-dark: #000000;
JSON
{
"hex": "#124f2d",
"rgb": {
"r": 18,
"g": 79,
"b": 45
},
"hsl": {
"h": 146.557,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.3799,
"c": 0.08427,
"h": 154.2
},
"luminance": 0.0591
}Semantic roles & 50–950 ramp
primary
#124F2D
secondary
#883563
accent
#429DE6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A