#124F2C#124F2C
#124F2C is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.085 H 153.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #124F2C |
|---|---|
| RGB | rgb(18, 79, 44) |
| HSL | hsl(146, 63%, 19%) |
| HSV | hsv(146, 77%, 31%) |
| CMYK | cmyk(77.2%, 0%, 44.3%, 69%) |
| CIE-LAB | lab(29.16, -28.33, 15.28) |
| CIE-LCH | lch(29.16, 32.19, 151.66°) |
| OKLab | oklab(37.97% -0.0764 0.038) |
| OKLCH | oklch(37.97% 0.085 153.6) |
| XYZ | xyz(3.4997, 5.9020, 3.3371) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.03
Pine Green
#0A481E
ΔE00 3.24
Spruce
#0A5F38
ΔE00 5.21
Pine
#2B5D34
ΔE00 5.23
Hunter Green
#355E3B
ΔE00 6.25
Forest Green
#2D5A27
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124F2C #4F1235
analogous
#174F12 #124F2C #124F4B
triadic
#124F2C #2C124F #4F2C12
tetradic
#124F2C #12174F #4F1235 #4F4B12
square
#124F2C #12174F #4F1235 #4F4B12
split-complementary
#124F2C #4B124F #4F1217
monochromatic
#06190E #071D10 #124F2C #1D8148 #29B364
Accessibility & contrast
On white
9.63
#124F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#124F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124F2C
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124F2C | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#47432E
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #124f2c; /* rgb */ color: rgb(18, 79, 44); /* oklch */ color: oklch(38.0% 0.085 153.6);
Tailwind
colors: {
custom: {
50: '#5a8165',
500: '#124f2c',
950: '#000000',
},
}SCSS
$custom: #124f2c; $custom-light: #5a8165; $custom-dark: #000000;
JSON
{
"hex": "#124f2c",
"rgb": {
"r": 18,
"g": 79,
"b": 44
},
"hsl": {
"h": 145.574,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.37968,
"c": 0.08534,
"h": 153.6
},
"luminance": 0.05902
}Semantic roles & 50–950 ramp
primary
#124F2C
secondary
#883565
accent
#42A0E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A