#1F762E#1F762E
#1F762E is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.135 H 145.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F762E |
|---|---|
| RGB | rgb(31, 118, 46) |
| HSL | hsl(130, 58%, 29%) |
| HSV | hsv(130, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 61%, 53.7%) |
| CIE-LAB | lab(43.43, -41.34, 31.89) |
| CIE-LCH | lch(43.43, 52.22, 142.35°) |
| OKLab | oklab(49.85% -0.1115 0.0755) |
| OKLCH | oklch(49.85% 0.135 145.9) |
| XYZ | xyz(7.5361, 13.4446, 4.7821) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.36
Tree Green
#2A7E19
ΔE00 5.16
Jungle Green
#048243
ΔE00 5.25
Green
#008000
ΔE00 6.53
Darkgreen
#006400
ΔE00 7.32
Dark Grass Green
#388004
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F762E #761F67
analogous
#3C761F #1F762E #1F765A
triadic
#1F762E #2E1F76 #762E1F
tetradic
#1F762E #1F3C76 #761F67 #765A1F
square
#1F762E #1F3C76 #761F67 #765A1F
split-complementary
#1F762E #5A1F76 #761F3C
monochromatic
#061809 #12461B #1F762E #2CA641 #42CD5A
Accessibility & contrast
On white
5.69
#1F762E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#1F762E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F762E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F762E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F762E | 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)
#786B27
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f762e; /* rgb */ color: rgb(31, 118, 46); /* oklch */ color: oklch(49.9% 0.135 145.9);
Tailwind
colors: {
custom: {
50: '#689e69',
500: '#1f762e',
950: '#000000',
},
}SCSS
$custom: #1f762e; $custom-light: #689e69; $custom-dark: #000000;
JSON
{
"hex": "#1f762e",
"rgb": {
"r": 31,
"g": 118,
"b": 46
},
"hsl": {
"h": 130.345,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49852,
"c": 0.13467,
"h": 145.9
},
"luminance": 0.13445
}Semantic roles & 50–950 ramp
primary
#1F762E
secondary
#AA4799
accent
#46C7E2
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A