#1F762F#1F762F
#1F762F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.134 H 146.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F762F |
|---|---|
| RGB | rgb(31, 118, 47) |
| HSL | hsl(131, 58%, 29%) |
| HSV | hsv(131, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 60.2%, 53.7%) |
| CIE-LAB | lab(43.44, -41.20, 31.40) |
| CIE-LCH | lch(43.44, 51.80, 142.69°) |
| OKLab | oklab(49.87% -0.1111 0.0745) |
| OKLCH | oklch(49.87% 0.134 146.2) |
| XYZ | xyz(7.5561, 13.4526, 4.8872) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.30
Jungle Green
#048243
ΔE00 5.14
Tree Green
#2A7E19
ΔE00 5.31
Green
#008000
ΔE00 6.69
Darkgreen
#006400
ΔE00 7.43
Dark Grass Green
#388004
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F762F #761F66
analogous
#3B761F #1F762F #1F765B
triadic
#1F762F #2F1F76 #762F1F
tetradic
#1F762F #1F3B76 #761F66 #765B1F
square
#1F762F #1F3B76 #761F66 #765B1F
split-complementary
#1F762F #5B1F76 #761F3B
monochromatic
#06180A #12461C #1F762F #2CA642 #42CD5C
Accessibility & contrast
On white
5.69
#1F762F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#1F762F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F762F
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F762F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F762F | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f762f; /* rgb */ color: rgb(31, 118, 47); /* oklch */ color: oklch(49.9% 0.134 146.2);
Tailwind
colors: {
custom: {
50: '#689e6a',
500: '#1f762f',
950: '#000000',
},
}SCSS
$custom: #1f762f; $custom-light: #689e6a; $custom-dark: #000000;
JSON
{
"hex": "#1f762f",
"rgb": {
"r": 31,
"g": 118,
"b": 47
},
"hsl": {
"h": 131.034,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49866,
"c": 0.13378,
"h": 146.2
},
"luminance": 0.13453
}Semantic roles & 50–950 ramp
primary
#1F762F
secondary
#AA4798
accent
#46C5E2
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A