#78841B#78841B
#78841B is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.124 H 116.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #78841B |
|---|---|
| RGB | rgb(120, 132, 27) |
| HSL | hsl(67, 66%, 31%) |
| HSV | hsv(67, 80%, 52%) |
| CMYK | cmyk(9.1%, 0%, 79.5%, 48.2%) |
| CIE-LAB | lab(52.48, -17.98, 50.74) |
| CIE-LCH | lch(52.48, 53.83, 109.51°) |
| OKLab | oklab(58.42% -0.0547 0.1111) |
| OKLCH | oklch(58.42% 0.124 116.2) |
| XYZ | xyz(16.1953, 20.5750, 4.1549) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.91
Shit Green
#758000
ΔE00 2.19
Poop Green
#6F7C00
ΔE00 3.38
Murky Green
#6C7A0E
ΔE00 4.06
Olive
#808000
ΔE00 4.09
Olive Green
#677A04
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78841B #271B84
analogous
#845B1B #78841B #43841B
triadic
#78841B #1B7884 #841B78
tetradic
#78841B #1B845B #271B84 #841B43
square
#78841B #1B845B #271B84 #841B43
split-complementary
#78841B #1B4384 #5B1B84
monochromatic
#1C1E06 #4A5111 #78841B #A6B725 #C7D841
Accessibility & contrast
On white
4.11
#78841B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#78841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78841B
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78841B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78841B | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #78841b; /* rgb */ color: rgb(120, 132, 27); /* oklch */ color: oklch(58.4% 0.124 116.2);
Tailwind
colors: {
custom: {
50: '#a2a761',
500: '#78841b',
950: '#000000',
},
}SCSS
$custom: #78841b; $custom-light: #a2a761; $custom-dark: #000000;
JSON
{
"hex": "#78841b",
"rgb": {
"r": 120,
"g": 132,
"b": 27
},
"hsl": {
"h": 66.857,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.58421,
"c": 0.12383,
"h": 116.2
},
"luminance": 0.20575
}Semantic roles & 50–950 ramp
primary
#78841B
secondary
#5143B7
accent
#3FE952
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A