#78831A#78831A
#78831A is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.123 H 115.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #78831A |
|---|---|
| RGB | rgb(120, 131, 26) |
| HSL | hsl(66, 67%, 31%) |
| HSV | hsv(66, 80%, 51%) |
| CMYK | cmyk(8.4%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(52.18, -17.50, 50.78) |
| CIE-LCH | lch(52.18, 53.71, 109.02°) |
| OKLab | oklab(58.17% -0.0535 0.111) |
| OKLCH | oklch(58.17% 0.123 115.7) |
| XYZ | xyz(16.0489, 20.3005, 4.0500) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.91
Swamp Green
#748500
ΔE00 2.05
Poop Green
#6F7C00
ΔE00 3.09
Olive
#808000
ΔE00 3.80
Murky Green
#6C7A0E
ΔE00 3.80
Olive Green
#677A04
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78831A #251A83
analogous
#83591A #78831A #43831A
triadic
#78831A #1A7883 #831A78
tetradic
#78831A #1A8359 #251A83 #831A43
square
#78831A #1A8359 #251A83 #831A43
split-complementary
#78831A #1A4383 #591A83
monochromatic
#1A1D06 #495010 #78831A #A7B624 #C9D93F
Accessibility & contrast
On white
4.15
#78831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#78831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78831A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78831A | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #78831a; /* rgb */ color: rgb(120, 131, 26); /* oklch */ color: oklch(58.2% 0.123 115.7);
Tailwind
colors: {
custom: {
50: '#a2a661',
500: '#78831a',
950: '#000000',
},
}SCSS
$custom: #78831a; $custom-light: #a2a661; $custom-dark: #000000;
JSON
{
"hex": "#78831a",
"rgb": {
"r": 120,
"g": 131,
"b": 26
},
"hsl": {
"h": 66.286,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.58173,
"c": 0.12321,
"h": 115.7
},
"luminance": 0.203
}Semantic roles & 50–950 ramp
primary
#78831A
secondary
#4E42B7
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A