#78681B#78681B

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

Color values

HEX#78681B
RGBrgb(120, 104, 27)
HSLhsl(50, 63%, 29%)
HSVhsv(50, 78%, 47%)
CMYKcmyk(0%, 13.3%, 77.5%, 52.9%)
CIE-LABlab(44.19, -2.54, 43.01)
CIE-LCHlch(44.19, 43.09, 93.39°)
OKLaboklab(51.81% -0.0115 0.0947)
OKLCHoklch(51.81% 0.095 96.9)
XYZxyz(12.8945, 13.9735, 3.0547)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78681B #1B2B78
analogous
#783A1B #78681B #5A781B
triadic
#78681B #1B7868 #681B78
tetradic
#78681B #1B783A #1B2B78 #781B5A
square
#78681B #1B783A #1B2B78 #781B5A
split-complementary
#78681B #1B5A78 #3A1B78
monochromatic
#191606 #463D10 #78681B #AA9326 #D3B93B

Accessibility & contrast

On white

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

On black

3.79
#78681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78681B#FFFFFF#000000##FFFFFF
##78681B1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650D
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#826059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #78681b;
/* rgb */ color: rgb(120, 104, 27);
/* oklch */ color: oklch(51.8% 0.095 96.9);
Tailwind
colors: {
  custom: {
    50: '#a2925e',
    500: '#78681b',
    950: '#000000',
  },
}
SCSS
$custom: #78681b;
$custom-light: #a2925e;
$custom-dark: #000000;
JSON
{
  "hex": "#78681b",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 49.677,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.09539,
    "h": 96.9
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#78681B
secondary
#4355AC
accent
#5EE641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #78681B

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

Preview Lab → · Contrast checker → · Palette generator →

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