#1F761F#1F761F
#1F761F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.146 H 143.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F761F |
|---|---|
| RGB | rgb(31, 118, 31) |
| HSL | hsl(120, 58%, 29%) |
| HSV | hsv(120, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.28, -43.08, 38.69) |
| CIE-LCH | lch(43.28, 57.90, 138.07°) |
| OKLab | oklab(49.69% -0.1169 0.0882) |
| OKLCH | oklch(49.69% 0.146 143) |
| XYZ | xyz(7.2904, 13.3463, 3.4879) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.40
Darkish Green
#287C37
ΔE00 3.97
Green
#008000
ΔE00 4.63
Dark Grass Green
#388004
ΔE00 5.92
Darkgreen
#006400
ΔE00 6.31
Jungle Green
#048243
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F761F #761F76
analogous
#4B761F #1F761F #1F764B
triadic
#1F761F #1F1F76 #761F1F
tetradic
#1F761F #1F4B76 #761F76 #764B1F
square
#1F761F #1F4B76 #761F76 #764B1F
split-complementary
#1F761F #4B1F76 #761F4B
monochromatic
#061806 #124612 #1F761F #2CA62C #42CD42
Accessibility & contrast
On white
5.72
#1F761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#1F761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F761F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F761F | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#037265
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f761f; /* rgb */ color: rgb(31, 118, 31); /* oklch */ color: oklch(49.7% 0.146 143.0);
Tailwind
colors: {
custom: {
50: '#699e60',
500: '#1f761f',
950: '#000000',
},
}SCSS
$custom: #1f761f; $custom-light: #699e60; $custom-dark: #000000;
JSON
{
"hex": "#1f761f",
"rgb": {
"r": 31,
"g": 118,
"b": 31
},
"hsl": {
"h": 120,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49685,
"c": 0.14649,
"h": 143
},
"luminance": 0.13347
}Semantic roles & 50–950 ramp
primary
#1F761F
secondary
#AA47AA
accent
#46E2E2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79