#79841B#79841B
#79841B is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.123 H 115.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #79841B |
|---|---|
| RGB | rgb(121, 132, 27) |
| HSL | hsl(66, 66%, 31%) |
| HSV | hsv(66, 80%, 52%) |
| CMYK | cmyk(8.3%, 0%, 79.5%, 48.2%) |
| CIE-LAB | lab(52.56, -17.53, 50.84) |
| CIE-LCH | lch(52.56, 53.78, 109.03°) |
| OKLab | oklab(58.51% -0.0535 0.1113) |
| OKLCH | oklch(58.51% 0.123 115.7) |
| XYZ | xyz(16.3347, 20.6469, 4.1614) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.02
Shit Green
#758000
ΔE00 2.16
Poop Green
#6F7C00
ΔE00 3.45
Olive
#808000
ΔE00 3.85
Murky Green
#6C7A0E
ΔE00 4.18
Olive Green
#677A04
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79841B #261B84
analogous
#845A1B #79841B #44841B
triadic
#79841B #1B7984 #841B79
tetradic
#79841B #1B845A #261B84 #841B44
square
#79841B #1B845A #261B84 #841B44
split-complementary
#79841B #1B4484 #5A1B84
monochromatic
#1C1E06 #4A5111 #79841B #A8B725 #C8D841
Accessibility & contrast
On white
4.09
#79841B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#79841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79841B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79841B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79841B | 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)
#8E7D00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #79841b; /* rgb */ color: rgb(121, 132, 27); /* oklch */ color: oklch(58.5% 0.123 115.7);
Tailwind
colors: {
custom: {
50: '#a3a761',
500: '#79841b',
950: '#000000',
},
}SCSS
$custom: #79841b; $custom-light: #a3a761; $custom-dark: #000000;
JSON
{
"hex": "#79841b",
"rgb": {
"r": 121,
"g": 132,
"b": 27
},
"hsl": {
"h": 66.286,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.58505,
"c": 0.12348,
"h": 115.7
},
"luminance": 0.20647
}Semantic roles & 50–950 ramp
primary
#79841B
secondary
#5043B7
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A