#78781D#78781D

#78781D is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.109 H 109.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#78781D
RGBrgb(120, 120, 29)
HSLhsl(60, 61%, 29%)
HSVhsv(60, 76%, 47%)
CMYKcmyk(0%, 0%, 75.8%, 52.9%)
CIE-LABlab(48.90, -11.46, 46.72)
CIE-LCHlch(48.90, 48.10, 103.78°)
OKLaboklab(55.56% -0.0364 0.103)
OKLCHoklch(55.56% 0.109 109.5)
XYZxyz(14.6845, 17.5152, 3.7694)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78781D #1D1D78
analogous
#784B1D #78781D #4B781D
triadic
#78781D #1D7878 #781D78
tetradic
#78781D #1D784B #1D1D78 #781D4B
square
#78781D #1D784B #1D1D78 #781D4B
split-complementary
#78781D #1D4B78 #4B1D78
monochromatic
#191906 #474711 #78781D #A9A929 #D1D13F

Accessibility & contrast

On white

4.66
#78781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#78781D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78781D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78781D#FFFFFF#000000##FFFFFF
##78781D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730A
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#817067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #78781d;
/* rgb */ color: rgb(120, 120, 29);
/* oklch */ color: oklch(55.6% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#a29e61',
    500: '#78781d',
    950: '#000000',
  },
}
SCSS
$custom: #78781d;
$custom-light: #a29e61;
$custom-dark: #000000;
JSON
{
  "hex": "#78781d",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.1092,
    "h": 109.5
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#78781D
secondary
#4545AC
accent
#44E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78781D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#78781D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva