#1F762D#1F762D
#1F762D is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.136 H 145.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F762D |
|---|---|
| RGB | rgb(31, 118, 45) |
| HSL | hsl(130, 58%, 29%) |
| HSV | hsv(130, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 61.9%, 53.7%) |
| CIE-LAB | lab(43.41, -41.48, 32.38) |
| CIE-LCH | lch(43.41, 52.62, 142.02°) |
| OKLab | oklab(49.84% -0.1119 0.0764) |
| OKLCH | oklch(49.84% 0.136 145.7) |
| XYZ | xyz(7.5166, 13.4368, 4.6795) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.42
Tree Green
#2A7E19
ΔE00 5.00
Jungle Green
#048243
ΔE00 5.36
Green
#008000
ΔE00 6.37
Darkgreen
#006400
ΔE00 7.22
Dark Grass Green
#388004
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F762D #761F68
analogous
#3D761F #1F762D #1F7659
triadic
#1F762D #2D1F76 #762D1F
tetradic
#1F762D #1F3D76 #761F68 #76591F
square
#1F762D #1F3D76 #761F68 #76591F
split-complementary
#1F762D #591F76 #761F3D
monochromatic
#061809 #12461B #1F762D #2CA63F #42CD58
Accessibility & contrast
On white
5.69
#1F762D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#1F762D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F762D
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F762D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F762D | 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)
#786B25
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f762d; /* rgb */ color: rgb(31, 118, 45); /* oklch */ color: oklch(49.8% 0.136 145.7);
Tailwind
colors: {
custom: {
50: '#699e68',
500: '#1f762d',
950: '#000000',
},
}SCSS
$custom: #1f762d; $custom-light: #699e68; $custom-dark: #000000;
JSON
{
"hex": "#1f762d",
"rgb": {
"r": 31,
"g": 118,
"b": 45
},
"hsl": {
"h": 129.655,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49839,
"c": 0.13555,
"h": 145.7
},
"luminance": 0.13438
}Semantic roles & 50–950 ramp
primary
#1F762D
secondary
#AA479A
accent
#46C9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A