#1F751C#1F751C
#1F751C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.147 H 142.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F751C |
|---|---|
| RGB | rgb(31, 117, 28) |
| HSL | hsl(118, 61%, 28%) |
| HSV | hsv(118, 76%, 46%) |
| CMYK | cmyk(73.5%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(42.91, -42.99, 39.53) |
| CIE-LCH | lch(42.91, 58.40, 137.40°) |
| OKLab | oklab(49.37% -0.1169 0.0896) |
| OKLCH | oklch(49.37% 0.147 142.5) |
| XYZ | xyz(7.1355, 13.0969, 3.2503) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.54
Darkish Green
#287C37
ΔE00 4.43
Green
#008000
ΔE00 4.68
Dark Grass Green
#388004
ΔE00 5.91
Darkgreen
#006400
ΔE00 5.92
Jungle Green
#048243
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F751C #721C75
analogous
#4B751C #1F751C #1C7545
triadic
#1F751C #1C1F75 #751C1F
tetradic
#1F751C #1C4B75 #721C75 #75451C
square
#1F751C #1C4B75 #721C75 #75451C
split-complementary
#1F751C #451C75 #751C4B
monochromatic
#071906 #124410 #1F751C #2CA628 #40D03B
Accessibility & contrast
On white
5.80
#1F751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#1F751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F751C
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F751C | 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)
#78690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#057164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f751c; /* rgb */ color: rgb(31, 117, 28); /* oklch */ color: oklch(49.4% 0.147 142.5);
Tailwind
colors: {
custom: {
50: '#699e5e',
500: '#1f751c',
950: '#000000',
},
}SCSS
$custom: #1f751c; $custom-light: #699e5e; $custom-dark: #000000;
JSON
{
"hex": "#1f751c",
"rgb": {
"r": 31,
"g": 117,
"b": 28
},
"hsl": {
"h": 117.978,
"s": 61.379,
"l": 28.431
},
"oklch": {
"l": 0.4937,
"c": 0.14723,
"h": 142.5
},
"luminance": 0.13098
}Semantic roles & 50–950 ramp
primary
#1F751C
secondary
#A644A9
accent
#43E4DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79