#79831A#79831A
#79831A is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.123 H 115.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #79831A |
|---|---|
| RGB | rgb(121, 131, 26) |
| HSL | hsl(66, 67%, 31%) |
| HSV | hsv(66, 80%, 51%) |
| CMYK | cmyk(7.6%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(52.26, -17.05, 50.88) |
| CIE-LCH | lch(52.26, 53.66, 108.52°) |
| OKLab | oklab(58.26% -0.0523 0.1112) |
| OKLCH | oklch(58.26% 0.123 115.2) |
| XYZ | xyz(16.1884, 20.3724, 4.0566) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.90
Swamp Green
#748500
ΔE00 2.18
Poop Green
#6F7C00
ΔE00 3.19
Olive
#808000
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 3.94
Olive Green
#677A04
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79831A #241A83
analogous
#83581A #79831A #44831A
triadic
#79831A #1A7983 #831A79
tetradic
#79831A #1A8358 #241A83 #831A44
square
#79831A #1A8358 #241A83 #831A44
split-complementary
#79831A #1A4483 #581A83
monochromatic
#1B1D06 #4A5010 #79831A #A8B624 #CAD93F
Accessibility & contrast
On white
4.14
#79831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#79831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79831A
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79831A | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #79831a; /* rgb */ color: rgb(121, 131, 26); /* oklch */ color: oklch(58.3% 0.123 115.2);
Tailwind
colors: {
custom: {
50: '#a3a661',
500: '#79831a',
950: '#000000',
},
}SCSS
$custom: #79831a; $custom-light: #a3a661; $custom-dark: #000000;
JSON
{
"hex": "#79831a",
"rgb": {
"r": 121,
"g": 131,
"b": 26
},
"hsl": {
"h": 65.714,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.58258,
"c": 0.12286,
"h": 115.2
},
"luminance": 0.20372
}Semantic roles & 50–950 ramp
primary
#79831A
secondary
#4D42B7
accent
#3EEA4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A