#79841F#79841F
#79841F is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.121 H 115.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #79841F |
|---|---|
| RGB | rgb(121, 132, 31) |
| HSL | hsl(67, 62%, 32%) |
| HSV | hsv(67, 77%, 52%) |
| CMYK | cmyk(8.3%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(52.58, -17.35, 49.50) |
| CIE-LCH | lch(52.58, 52.45, 109.31°) |
| OKLab | oklab(58.53% -0.0527 0.1092) |
| OKLCH | oklch(58.53% 0.121 115.7) |
| XYZ | xyz(16.3842, 20.6667, 4.4220) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.34
Shit Green
#758000
ΔE00 2.48
Poop Green
#6F7C00
ΔE00 3.60
Olive
#808000
ΔE00 4.12
Murky Green
#6C7A0E
ΔE00 4.20
Khaki Green
#728639
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79841F #2A1F84
analogous
#845D1F #79841F #46841F
triadic
#79841F #1F7984 #841F79
tetradic
#79841F #1F845D #2A1F84 #841F46
square
#79841F #1F845D #2A1F84 #841F46
split-complementary
#79841F #1F4684 #5D1F84
monochromatic
#1E2108 #4C5213 #79841F #A6B62B #C5D449
Accessibility & contrast
On white
4.09
#79841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#79841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79841F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79841F | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D08
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #79841f; /* rgb */ color: rgb(121, 132, 31); /* oklch */ color: oklch(58.5% 0.121 115.7);
Tailwind
colors: {
custom: {
50: '#a3a763',
500: '#79841f',
950: '#000000',
},
}SCSS
$custom: #79841f; $custom-light: #a3a763; $custom-dark: #000000;
JSON
{
"hex": "#79841f",
"rgb": {
"r": 121,
"g": 132,
"b": 31
},
"hsl": {
"h": 66.535,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.58529,
"c": 0.12122,
"h": 115.7
},
"luminance": 0.20666
}Semantic roles & 50–950 ramp
primary
#79841F
secondary
#5448B7
accent
#43E554
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A