#1F7935#1F7935
#1F7935 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.132 H 147.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7935 |
|---|---|
| RGB | rgb(31, 121, 53) |
| HSL | hsl(135, 59%, 30%) |
| HSV | hsv(135, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 56.2%, 52.5%) |
| CIE-LAB | lab(44.55, -41.46, 29.63) |
| CIE-LCH | lch(44.55, 50.96, 144.45°) |
| OKLab | oklab(50.81% -0.1117 0.071) |
| OKLCH | oklch(50.81% 0.132 147.5) |
| XYZ | xyz(8.0444, 14.2222, 5.6887) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.31
Jungle Green
#048243
ΔE00 3.87
Tree Green
#2A7E19
ΔE00 5.60
Green
#008000
ΔE00 6.98
Forestgreen (CSS)
#228B22
ΔE00 7.99
Sea Green
#2E8B57
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7935 #791F63
analogous
#36791F #1F7935 #1F7962
triadic
#1F7935 #351F79 #79351F
tetradic
#1F7935 #1F3679 #791F63 #79621F
square
#1F7935 #1F3679 #791F63 #79621F
split-complementary
#1F7935 #621F79 #791F36
monochromatic
#06180B #134820 #1F7935 #2BAA4A #43CF66
Accessibility & contrast
On white
5.46
#1F7935 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#1F7935 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7935
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7935 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7935 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E2F
Deuteranopia (green-blind)
#70663A
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f7935; /* rgb */ color: rgb(31, 121, 53); /* oklch */ color: oklch(50.8% 0.132 147.5);
Tailwind
colors: {
custom: {
50: '#69a16e',
500: '#1f7935',
950: '#000000',
},
}SCSS
$custom: #1f7935; $custom-light: #69a16e; $custom-dark: #000000;
JSON
{
"hex": "#1f7935",
"rgb": {
"r": 31,
"g": 121,
"b": 53
},
"hsl": {
"h": 134.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.50811,
"c": 0.13235,
"h": 147.5
},
"luminance": 0.14223
}Semantic roles & 50–950 ramp
primary
#1F7935
secondary
#AC4794
accent
#45BCE2
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A