#1F7629#1F7629
#1F7629 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.139 H 144.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7629 |
|---|---|
| RGB | rgb(31, 118, 41) |
| HSL | hsl(127, 58%, 29%) |
| HSV | hsv(127, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 65.3%, 53.7%) |
| CIE-LAB | lab(43.37, -41.99, 34.29) |
| CIE-LCH | lch(43.37, 54.21, 140.76°) |
| OKLab | oklab(49.79% -0.1135 0.0801) |
| OKLCH | oklch(49.79% 0.139 144.8) |
| XYZ | xyz(7.4433, 13.4074, 4.2930) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.79
Tree Green
#2A7E19
ΔE00 4.44
Green
#008000
ΔE00 5.79
Jungle Green
#048243
ΔE00 5.83
Darkgreen
#006400
ΔE00 6.87
Dark Grass Green
#388004
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7629 #761F6C
analogous
#41761F #1F7629 #1F7655
triadic
#1F7629 #291F76 #76291F
tetradic
#1F7629 #1F4176 #761F6C #76551F
square
#1F7629 #1F4176 #761F6C #76551F
split-complementary
#1F7629 #551F76 #761F41
monochromatic
#061808 #124618 #1F7629 #2CA63A #42CD52
Accessibility & contrast
On white
5.70
#1F7629 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#1F7629 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7629
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7629 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7629 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B20
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f7629; /* rgb */ color: rgb(31, 118, 41); /* oklch */ color: oklch(49.8% 0.139 144.8);
Tailwind
colors: {
custom: {
50: '#699e66',
500: '#1f7629',
950: '#000000',
},
}SCSS
$custom: #1f7629; $custom-light: #699e66; $custom-dark: #000000;
JSON
{
"hex": "#1f7629",
"rgb": {
"r": 31,
"g": 118,
"b": 41
},
"hsl": {
"h": 126.897,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49789,
"c": 0.13894,
"h": 144.8
},
"luminance": 0.13408
}Semantic roles & 50–950 ramp
primary
#1F7629
secondary
#AA479E
accent
#46D0E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A