#788310#788310
#788310 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.128 H 115.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #788310 |
|---|---|
| RGB | rgb(120, 131, 16) |
| HSL | hsl(66, 78%, 29%) |
| HSV | hsv(66, 88%, 51%) |
| CMYK | cmyk(8.4%, 0%, 87.8%, 48.6%) |
| CIE-LAB | lab(52.13, -17.86, 53.51) |
| CIE-LCH | lch(52.13, 56.41, 108.45°) |
| OKLab | oklab(58.13% -0.0552 0.1151) |
| OKLCH | oklch(58.13% 0.128 115.6) |
| XYZ | xyz(15.9560, 20.2634, 3.5608) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.34
Swamp Green
#748500
ΔE00 1.59
Poop Green
#6F7C00
ΔE00 2.91
Olive
#808000
ΔE00 3.35
Murky Green
#6C7A0E
ΔE00 3.91
Olive Green
#677A04
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788310 #1B1083
analogous
#835510 #788310 #3F8310
triadic
#788310 #107883 #831078
tetradic
#788310 #108355 #1B1083 #83103F
square
#788310 #108355 #1B1083 #83103F
split-complementary
#788310 #103F83 #551083
monochromatic
#191B03 #464C09 #788310 #AABA17 #D3E529
Accessibility & contrast
On white
4.16
#788310 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#788310 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788310
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788310 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788310 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#807B6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #788310; /* rgb */ color: rgb(120, 131, 16); /* oklch */ color: oklch(58.1% 0.128 115.6);
Tailwind
colors: {
custom: {
50: '#a3a65d',
500: '#788310',
950: '#000000',
},
}SCSS
$custom: #788310; $custom-light: #a3a65d; $custom-dark: #000000;
JSON
{
"hex": "#788310",
"rgb": {
"r": 120,
"g": 131,
"b": 16
},
"hsl": {
"h": 65.739,
"s": 78.231,
"l": 28.824
},
"oklch": {
"l": 0.58127,
"c": 0.12761,
"h": 115.6
},
"luminance": 0.20263
}Semantic roles & 50–950 ramp
primary
#788310
secondary
#4336B9
accent
#33F546
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79