#79831B#79831B
#79831B is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.122 H 115.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #79831B |
|---|---|
| RGB | rgb(121, 131, 27) |
| HSL | hsl(66, 66%, 31%) |
| HSV | hsv(66, 79%, 51%) |
| CMYK | cmyk(7.6%, 0%, 79.4%, 48.6%) |
| CIE-LAB | lab(52.26, -17.01, 50.57) |
| CIE-LCH | lch(52.26, 53.35, 108.59°) |
| OKLab | oklab(58.26% -0.0521 0.1107) |
| OKLCH | oklch(58.26% 0.122 115.2) |
| XYZ | xyz(16.1998, 20.3770, 4.1165) |
| Luminance | 0.2038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.98
Swamp Green
#748500
ΔE00 2.24
Poop Green
#6F7C00
ΔE00 3.22
Olive
#808000
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 3.94
Olive Green
#677A04
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79831B #251B83
analogous
#83591B #79831B #45831B
triadic
#79831B #1B7983 #831B79
tetradic
#79831B #1B8359 #251B83 #831B45
square
#79831B #1B8359 #251B83 #831B45
split-complementary
#79831B #1B4583 #591B83
monochromatic
#1B1E06 #4A5011 #79831B #A8B625 #C9D841
Accessibility & contrast
On white
4.14
#79831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#79831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79831B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79831B | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #79831b; /* rgb */ color: rgb(121, 131, 27); /* oklch */ color: oklch(58.3% 0.122 115.2);
Tailwind
colors: {
custom: {
50: '#a3a661',
500: '#79831b',
950: '#000000',
},
}SCSS
$custom: #79831b; $custom-light: #a3a661; $custom-dark: #000000;
JSON
{
"hex": "#79831b",
"rgb": {
"r": 121,
"g": 131,
"b": 27
},
"hsl": {
"h": 65.769,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.58264,
"c": 0.12233,
"h": 115.2
},
"luminance": 0.20377
}Semantic roles & 50–950 ramp
primary
#79831B
secondary
#4E43B6
accent
#3FE94F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A