#7F841A#7F841A
#7F841A is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.122 H 112.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F841A |
|---|---|
| RGB | rgb(127, 132, 26) |
| HSL | hsl(63, 67%, 31%) |
| HSV | hsv(63, 80%, 52%) |
| CMYK | cmyk(3.8%, 0%, 80.3%, 48.2%) |
| CIE-LAB | lab(53.05, -14.86, 51.78) |
| CIE-LCH | lch(53.05, 53.87, 106.01°) |
| OKLab | oklab(59.01% -0.0465 0.1129) |
| OKLCH | oklch(59.01% 0.122 112.4) |
| XYZ | xyz(17.1907, 21.0896, 4.1422) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.50
Shit Green
#758000
ΔE00 2.69
Swamp Green
#748500
ΔE00 3.19
Poop Green
#6F7C00
ΔE00 4.27
Murky Green
#6C7A0E
ΔE00 5.18
Olive (survey)
#6E750E
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F841A #1F1A84
analogous
#84541A #7F841A #4A841A
triadic
#7F841A #1A7F84 #841A7F
tetradic
#7F841A #1A8454 #1F1A84 #841A4A
square
#7F841A #1A8454 #1F1A84 #841A4A
split-complementary
#7F841A #1A4A84 #541A84
monochromatic
#1D1E06 #4E5110 #7F841A #B0B724 #D2D93F
Accessibility & contrast
On white
4.02
#7F841A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#7F841A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F841A
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F841A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F841A | 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)
#8F7D00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#887B71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7f841a; /* rgb */ color: rgb(127, 132, 26); /* oklch */ color: oklch(59.0% 0.122 112.4);
Tailwind
colors: {
custom: {
50: '#a7a761',
500: '#7f841a',
950: '#000000',
},
}SCSS
$custom: #7f841a; $custom-light: #a7a761; $custom-dark: #000000;
JSON
{
"hex": "#7f841a",
"rgb": {
"r": 127,
"g": 132,
"b": 26
},
"hsl": {
"h": 62.83,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.59015,
"c": 0.12208,
"h": 112.4
},
"luminance": 0.21089
}Semantic roles & 50–950 ramp
primary
#7F841A
secondary
#4842B8
accent
#3EEA46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A