#1F6629#1F6629
#1F6629 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.1% C 0.117 H 145.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6629 |
|---|---|
| RGB | rgb(31, 102, 41) |
| HSL | hsl(128, 53%, 26%) |
| HSV | hsv(128, 70%, 40%) |
| CMYK | cmyk(69.6%, 0%, 59.8%, 60%) |
| CIE-LAB | lab(37.76, -35.82, 27.81) |
| CIE-LCH | lch(37.76, 45.35, 142.18°) |
| OKLab | oklab(45.15% -0.0968 0.0661) |
| OKLCH | oklch(45.15% 0.117 145.7) |
| XYZ | xyz(5.7163, 9.9536, 3.7174) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.75
Deep Green
#02590F
ΔE00 5.10
Pine
#2B5D34
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.34
Spruce
#0A5F38
ΔE00 6.07
Forest
#0B5509
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6629 #661F5C
analogous
#38661F #1F6629 #1F664C
triadic
#1F6629 #291F66 #66291F
tetradic
#1F6629 #1F3866 #661F5C #664C1F
square
#1F6629 #1F3866 #661F5C #664C1F
split-complementary
#1F6629 #4C1F66 #661F38
monochromatic
#071709 #113716 #1F6629 #2D953C #3CC44F
Accessibility & contrast
On white
7.02
#1F6629 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#1F6629 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6629
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6629 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6629 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#0A6358
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f6629; /* rgb */ color: rgb(31, 102, 41); /* oklch */ color: oklch(45.1% 0.117 145.7);
Tailwind
colors: {
custom: {
50: '#659265',
500: '#1f6629',
950: '#000000',
},
}SCSS
$custom: #1f6629; $custom-light: #659265; $custom-dark: #000000;
JSON
{
"hex": "#1f6629",
"rgb": {
"r": 31,
"g": 102,
"b": 41
},
"hsl": {
"h": 128.451,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.45146,
"c": 0.11725,
"h": 145.7
},
"luminance": 0.09954
}Semantic roles & 50–950 ramp
primary
#1F6629
secondary
#9A468F
accent
#4BC8DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A