#78681C#78681C

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

Color values

HEX#78681C
RGBrgb(120, 104, 28)
HSLhsl(50, 62%, 29%)
HSVhsv(50, 77%, 47%)
CMYKcmyk(0%, 13.3%, 76.7%, 52.9%)
CIE-LABlab(44.20, -2.50, 42.62)
CIE-LCHlch(44.20, 42.69, 93.35°)
OKLaboklab(51.82% -0.0113 0.0941)
OKLCHoklch(51.82% 0.095 96.8)
XYZxyz(12.9063, 13.9782, 3.1166)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78681C #1C2C78
analogous
#783A1C #78681C #5A781C
triadic
#78681C #1C7868 #681C78
tetradic
#78681C #1C783A #1C2C78 #781C5A
square
#78681C #1C783A #1C2C78 #781C5A
split-complementary
#78681C #1C5A78 #3A1C78
monochromatic
#191606 #463D10 #78681C #AA9328 #D2B83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78681C#FFFFFF#000000##FFFFFF
##78681C1.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)
#73660F
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#826059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #78681c;
/* rgb */ color: rgb(120, 104, 28);
/* oklch */ color: oklch(51.8% 0.095 96.8);
Tailwind
colors: {
  custom: {
    50: '#a2925e',
    500: '#78681c',
    950: '#000000',
  },
}
SCSS
$custom: #78681c;
$custom-light: #a2925e;
$custom-dark: #000000;
JSON
{
  "hex": "#78681c",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 49.565,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.09473,
    "h": 96.8
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#78681C
secondary
#4456AC
accent
#5FE543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #78681C

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

Preview Lab → · Contrast checker → · Palette generator →

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