#124F2B#124F2B
#124F2B is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.086 H 152.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #124F2B |
|---|---|
| RGB | rgb(18, 79, 43) |
| HSL | hsl(145, 63%, 19%) |
| HSV | hsv(145, 77%, 31%) |
| CMYK | cmyk(77.2%, 0%, 45.6%, 69%) |
| CIE-LAB | lab(29.14, -28.54, 15.86) |
| CIE-LCH | lch(29.14, 32.66, 150.93°) |
| OKLab | oklab(37.95% -0.0769 0.0393) |
| OKLCH | oklch(37.95% 0.086 152.9) |
| XYZ | xyz(3.4812, 5.8946, 3.2393) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.02
Evergreen
#05472A
ΔE00 3.20
Pine
#2B5D34
ΔE00 5.15
Spruce
#0A5F38
ΔE00 5.22
Forest Green
#2D5A27
ΔE00 6.19
Hunter Green
#355E3B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#124F2B #4F1236
analogous
#184F12 #124F2B #124F4A
triadic
#124F2B #2B124F #4F2B12
tetradic
#124F2B #12184F #4F1236 #4F4A12
square
#124F2B #12184F #4F1236 #4F4A12
split-complementary
#124F2B #4A124F #4F1218
monochromatic
#06190E #071D10 #124F2B #1D8146 #29B361
Accessibility & contrast
On white
9.64
#124F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#124F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #124F2B
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##124F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##124F2B | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4828
Deuteranopia (green-blind)
#48432D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #124f2b; /* rgb */ color: rgb(18, 79, 43); /* oklch */ color: oklch(37.9% 0.086 152.9);
Tailwind
colors: {
custom: {
50: '#5a8164',
500: '#124f2b',
950: '#000000',
},
}SCSS
$custom: #124f2b; $custom-light: #5a8164; $custom-dark: #000000;
JSON
{
"hex": "#124f2b",
"rgb": {
"r": 18,
"g": 79,
"b": 43
},
"hsl": {
"h": 144.59,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.37946,
"c": 0.08642,
"h": 152.9
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#124F2B
secondary
#883566
accent
#42A3E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A