#1F751F#1F751F
#1F751F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 143.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F751F |
|---|---|
| RGB | rgb(31, 117, 31) |
| HSL | hsl(120, 58%, 29%) |
| HSV | hsv(120, 74%, 46%) |
| CMYK | cmyk(73.5%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(42.93, -42.72, 38.33) |
| CIE-LCH | lch(42.93, 57.39, 138.10°) |
| OKLab | oklab(49.4% -0.116 0.0875) |
| OKLCH | oklch(49.4% 0.145 143) |
| XYZ | xyz(7.1733, 13.1120, 3.4489) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.73
Darkish Green
#287C37
ΔE00 4.09
Green
#008000
ΔE00 4.93
Darkgreen
#006400
ΔE00 6.02
Dark Grass Green
#388004
ΔE00 6.19
Jungle Green
#048243
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F751F #751F75
analogous
#4A751F #1F751F #1F754A
triadic
#1F751F #1F1F75 #751F1F
tetradic
#1F751F #1F4A75 #751F75 #754A1F
square
#1F751F #1F4A75 #751F75 #754A1F
split-complementary
#1F751F #4A1F75 #751F4A
monochromatic
#061806 #124512 #1F751F #2CA52C #42CD42
Accessibility & contrast
On white
5.80
#1F751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#1F751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F751F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F751F | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#047164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f751f; /* rgb */ color: rgb(31, 117, 31); /* oklch */ color: oklch(49.4% 0.145 143.0);
Tailwind
colors: {
custom: {
50: '#699e60',
500: '#1f751f',
950: '#000000',
},
}SCSS
$custom: #1f751f; $custom-light: #699e60; $custom-dark: #000000;
JSON
{
"hex": "#1f751f",
"rgb": {
"r": 31,
"g": 117,
"b": 31
},
"hsl": {
"h": 120,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49396,
"c": 0.14525,
"h": 143
},
"luminance": 0.13113
}Semantic roles & 50–950 ramp
primary
#1F751F
secondary
#A947A9
accent
#46E1E1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79