#78681D#78681D

#78681D is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.094 H 96.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#78681D
RGBrgb(120, 104, 29)
HSLhsl(49, 61%, 29%)
HSVhsv(49, 76%, 47%)
CMYKcmyk(0%, 13.3%, 75.8%, 52.9%)
CIE-LABlab(44.21, -2.44, 42.21)
CIE-LCHlch(44.21, 42.28, 93.31°)
OKLaboklab(51.82% -0.011 0.0934)
OKLCHoklch(51.82% 0.094 96.7)
XYZxyz(12.9185, 13.9831, 3.1807)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78681D #1D2D78
analogous
#783B1D #78681D #5B781D
triadic
#78681D #1D7868 #681D78
tetradic
#78681D #1D783B #1D2D78 #781D5B
square
#78681D #1D783B #1D2D78 #781D5B
split-complementary
#78681D #1D5B78 #3B1D78
monochromatic
#191506 #473D11 #78681D #A99329 #D1B73F

Accessibility & contrast

On white

5.53
#78681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#78681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78681D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78681D#FFFFFF#000000##FFFFFF
##78681D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736611
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#826059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #78681d;
/* rgb */ color: rgb(120, 104, 29);
/* oklch */ color: oklch(51.8% 0.094 96.7);
Tailwind
colors: {
  custom: {
    50: '#a2925f',
    500: '#78681d',
    950: '#000000',
  },
}
SCSS
$custom: #78681d;
$custom-light: #a2925f;
$custom-dark: #000000;
JSON
{
  "hex": "#78681d",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 49.451,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.09406,
    "h": 96.7
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#78681D
secondary
#4557AC
accent
#60E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #78681D

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

Preview Lab → · Contrast checker → · Palette generator →

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