#78841F#78841F
#78841F is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.122 H 116.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #78841F |
|---|---|
| RGB | rgb(120, 132, 31) |
| HSL | hsl(67, 62%, 32%) |
| HSV | hsv(67, 77%, 52%) |
| CMYK | cmyk(9.1%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(52.50, -17.79, 49.40) |
| CIE-LCH | lch(52.50, 52.50, 109.81°) |
| OKLab | oklab(58.45% -0.0538 0.109) |
| OKLCH | oklch(58.45% 0.122 116.3) |
| XYZ | xyz(16.2447, 20.5948, 4.4155) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.26
Shit Green
#758000
ΔE00 2.52
Poop Green
#6F7C00
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 4.09
Olive
#808000
ΔE00 4.35
Khaki Green
#728639
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78841F #2B1F84
analogous
#845E1F #78841F #46841F
triadic
#78841F #1F7884 #841F78
tetradic
#78841F #1F845E #2B1F84 #841F46
square
#78841F #1F845E #2B1F84 #841F46
split-complementary
#78841F #1F4684 #5E1F84
monochromatic
#1E2108 #4B5213 #78841F #A5B62B #C4D449
Accessibility & contrast
On white
4.10
#78841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#78841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78841F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78841F | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #78841f; /* rgb */ color: rgb(120, 132, 31); /* oklch */ color: oklch(58.4% 0.122 116.3);
Tailwind
colors: {
custom: {
50: '#a2a763',
500: '#78841f',
950: '#000000',
},
}SCSS
$custom: #78841f; $custom-light: #a2a763; $custom-dark: #000000;
JSON
{
"hex": "#78841f",
"rgb": {
"r": 120,
"g": 132,
"b": 31
},
"hsl": {
"h": 67.129,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.58445,
"c": 0.12157,
"h": 116.3
},
"luminance": 0.20595
}Semantic roles & 50–950 ramp
primary
#78841F
secondary
#5548B7
accent
#43E556
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A