#7F841D#7F841D
#7F841D is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.120 H 112.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F841D |
|---|---|
| RGB | rgb(127, 132, 29) |
| HSL | hsl(63, 64%, 32%) |
| HSV | hsv(63, 78%, 52%) |
| CMYK | cmyk(3.8%, 0%, 78%, 48.2%) |
| CIE-LAB | lab(53.06, -14.73, 50.82) |
| CIE-LCH | lch(53.06, 52.91, 106.16°) |
| OKLab | oklab(59.03% -0.0459 0.1114) |
| OKLCH | oklch(59.03% 0.12 112.4) |
| XYZ | xyz(17.2260, 21.1037, 4.3282) |
| Luminance | 0.2110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.71
Shit Green
#758000
ΔE00 2.81
Swamp Green
#748500
ΔE00 3.28
Poop Green
#6F7C00
ΔE00 4.32
Murky Green
#6C7A0E
ΔE00 5.16
Drab
#828344
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F841D #221D84
analogous
#84561D #7F841D #4C841D
triadic
#7F841D #1D7F84 #841D7F
tetradic
#7F841D #1D8456 #221D84 #841D4C
square
#7F841D #1D8456 #221D84 #841D4C
split-complementary
#7F841D #1D4C84 #561D84
monochromatic
#1E2007 #4F5212 #7F841D #AFB628 #CFD645
Accessibility & contrast
On white
4.02
#7F841D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#7F841D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F841D
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F841D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F841D | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#887C71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7f841d; /* rgb */ color: rgb(127, 132, 29); /* oklch */ color: oklch(59.0% 0.120 112.4);
Tailwind
colors: {
custom: {
50: '#a7a762',
500: '#7f841d',
950: '#000000',
},
}SCSS
$custom: #7f841d; $custom-light: #a7a762; $custom-dark: #000000;
JSON
{
"hex": "#7f841d",
"rgb": {
"r": 127,
"g": 132,
"b": 29
},
"hsl": {
"h": 62.913,
"s": 63.975,
"l": 31.569
},
"oklch": {
"l": 0.59032,
"c": 0.12048,
"h": 112.4
},
"luminance": 0.21103
}Semantic roles & 50–950 ramp
primary
#7F841D
secondary
#4B46B7
accent
#41E749
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A