#1F7643#1F7643
#1F7643 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.2% C 0.114 H 153.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7643 |
|---|---|
| RGB | rgb(31, 118, 67) |
| HSL | hsl(145, 58%, 29%) |
| HSV | hsv(145, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 43.2%, 53.7%) |
| CIE-LAB | lab(43.73, -37.83, 20.93) |
| CIE-LCH | lch(43.73, 43.23, 151.05°) |
| OKLab | oklab(50.2% -0.102 0.0519) |
| OKLCH | oklch(50.2% 0.114 153) |
| XYZ | xyz(8.0559, 13.6525, 7.5197) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.42
Jungle Green
#048243
ΔE00 4.59
Dark Sea Green
#11875D
ΔE00 7.10
Sea Green
#2E8B57
ΔE00 7.74
Spruce
#0A5F38
ΔE00 7.99
Pine
#2B5D34
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7643 #761F52
analogous
#26761F #1F7643 #1F766F
triadic
#1F7643 #431F76 #76431F
tetradic
#1F7643 #1F2676 #761F52 #766F1F
square
#1F7643 #1F2676 #761F52 #766F1F
split-complementary
#1F7643 #6F1F76 #761F26
monochromatic
#06180E #124627 #1F7643 #2CA65F #42CD7C
Accessibility & contrast
On white
5.63
#1F7643 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#1F7643 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7643
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7643 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7643 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#6B6446
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f7643; /* rgb */ color: rgb(31, 118, 67); /* oklch */ color: oklch(50.2% 0.114 153.0);
Tailwind
colors: {
custom: {
50: '#689e78',
500: '#1f7643',
950: '#000000',
},
}SCSS
$custom: #1f7643; $custom-light: #689e78; $custom-dark: #000000;
JSON
{
"hex": "#1f7643",
"rgb": {
"r": 31,
"g": 118,
"b": 67
},
"hsl": {
"h": 144.828,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.50203,
"c": 0.11443,
"h": 153
},
"luminance": 0.13653
}Semantic roles & 50–950 ramp
primary
#1F7643
secondary
#AA4781
accent
#46A1E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B