#124F2F#124F2F
#124F2F is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.082 H 155.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #124F2F |
|---|---|
| RGB | rgb(18, 79, 47) |
| HSL | hsl(149, 63%, 19%) |
| HSV | hsv(149, 77%, 31%) |
| CMYK | cmyk(77.2%, 0%, 40.5%, 69%) |
| CIE-LAB | lab(29.22, -27.67, 13.51) |
| CIE-LCH | lch(29.22, 30.79, 153.97°) |
| OKLab | oklab(38.04% -0.0748 0.0339) |
| OKLCH | oklch(38.04% 0.082 155.6) |
| XYZ | xyz(3.5582, 5.9254, 3.6450) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 2.64
Pine Green
#0A481E
ΔE00 4.00
Spruce
#0A5F38
ΔE00 5.31
Pine
#2B5D34
ΔE00 5.57
Hunter Green
#355E3B
ΔE00 6.32
Forest Green
#2D5A27
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124F2F #4F1232
analogous
#134F12 #124F2F #124F4E
triadic
#124F2F #2F124F #4F2F12
tetradic
#124F2F #12134F #4F1232 #4F4E12
square
#124F2F #12134F #4F1232 #4F4E12
split-complementary
#124F2F #4E124F #4F1213
monochromatic
#06190F #071D11 #124F2F #1D814D #29B36A
Accessibility & contrast
On white
9.61
#124F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#124F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124F2F
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124F2F | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #124f2f; /* rgb */ color: rgb(18, 79, 47); /* oklch */ color: oklch(38.0% 0.082 155.6);
Tailwind
colors: {
custom: {
50: '#5a8167',
500: '#124f2f',
950: '#000000',
},
}SCSS
$custom: #124f2f; $custom-light: #5a8167; $custom-dark: #000000;
JSON
{
"hex": "#124f2f",
"rgb": {
"r": 18,
"g": 79,
"b": 47
},
"hsl": {
"h": 148.525,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.38036,
"c": 0.08212,
"h": 155.6
},
"luminance": 0.05926
}Semantic roles & 50–950 ramp
primary
#124F2F
secondary
#883560
accent
#4298E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A