#3F7F1D#3F7F1D
#3F7F1D is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.4% C 0.145 H 137.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F7F1D |
|---|---|
| RGB | rgb(63, 127, 29) |
| HSL | hsl(99, 63%, 31%) |
| HSV | hsv(99, 77%, 50%) |
| CMYK | cmyk(50.4%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(47.40, -38.32, 43.98) |
| CIE-LCH | lch(47.40, 58.33, 131.06°) |
| OKLab | oklab(53.38% -0.1063 0.0987) |
| OKLCH | oklch(53.38% 0.145 137.1) |
| XYZ | xyz(9.8607, 16.3235, 3.7933) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.03
Tree Green
#2A7E19
ΔE00 2.44
Green
#008000
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 5.08
Avocado
#568203
ΔE00 5.32
Darkish Green
#287C37
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F7F1D #5D1D7F
analogous
#707F1D #3F7F1D #1D7F2C
triadic
#3F7F1D #1D3F7F #7F1D3F
tetradic
#3F7F1D #1D707F #5D1D7F #7F2C1D
square
#3F7F1D #1D707F #5D1D7F #7F2C1D
split-complementary
#3F7F1D #2C1D7F #7F1D70
monochromatic
#0E1B06 #264D12 #3F7F1D #58B128 #75D442
Accessibility & contrast
On white
4.92
#3F7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#3F7F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F7F1D
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F7F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F7F1D | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837408
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#3B7A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3f7f1d; /* rgb */ color: rgb(63, 127, 29); /* oklch */ color: oklch(53.4% 0.145 137.1);
Tailwind
colors: {
custom: {
50: '#7ba561',
500: '#3f7f1d',
950: '#000000',
},
}SCSS
$custom: #3f7f1d; $custom-light: #7ba561; $custom-dark: #000000;
JSON
{
"hex": "#3f7f1d",
"rgb": {
"r": 63,
"g": 127,
"b": 29
},
"hsl": {
"h": 99.184,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.53377,
"c": 0.14503,
"h": 137.1
},
"luminance": 0.16324
}Semantic roles & 50–950 ramp
primary
#3F7F1D
secondary
#8D45B2
accent
#42E6AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79