#78781F#78781F
#78781F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.108 H 109.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #78781F |
|---|---|
| RGB | rgb(120, 120, 31) |
| HSL | hsl(60, 59%, 30%) |
| HSV | hsv(60, 74%, 47%) |
| CMYK | cmyk(0%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(48.92, -11.36, 45.97) |
| CIE-LCH | lch(48.92, 47.36, 103.88°) |
| OKLab | oklab(55.57% -0.0359 0.1018) |
| OKLCH | oklch(55.57% 0.108 109.5) |
| XYZ | xyz(14.7100, 17.5254, 3.9039) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.81
Murky Green
#6C7A0E
ΔE00 4.01
Poop Green
#6F7C00
ΔE00 4.12
Brownish Green
#6A6E09
ΔE00 4.39
Olive
#808000
ΔE00 4.39
Olive Drab
#6F7632
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78781F #1F1F78
analogous
#784C1F #78781F #4C781F
triadic
#78781F #1F7878 #781F78
tetradic
#78781F #1F784C #1F1F78 #781F4C
square
#78781F #1F784C #1F1F78 #781F4C
split-complementary
#78781F #1F4C78 #4C1F78
monochromatic
#181806 #474712 #78781F #A9A92C #CECE43
Accessibility & contrast
On white
4.66
#78781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#78781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #78781F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78781F | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#817067
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #78781f; /* rgb */ color: rgb(120, 120, 31); /* oklch */ color: oklch(55.6% 0.108 109.5);
Tailwind
colors: {
custom: {
50: '#a29e62',
500: '#78781f',
950: '#000000',
},
}SCSS
$custom: #78781f; $custom-light: #a29e62; $custom-dark: #000000;
JSON
{
"hex": "#78781f",
"rgb": {
"r": 120,
"g": 120,
"b": 31
},
"hsl": {
"h": 60,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.55571,
"c": 0.10792,
"h": 109.5
},
"luminance": 0.17525
}Semantic roles & 50–950 ramp
primary
#78781F
secondary
#4747AB
accent
#46E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A