#78681F#78681F

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

Color values

HEX#78681F
RGBrgb(120, 104, 31)
HSLhsl(49, 59%, 30%)
HSVhsv(49, 74%, 47%)
CMYKcmyk(0%, 13.3%, 74.2%, 52.9%)
CIE-LABlab(44.22, -2.34, 41.38)
CIE-LCHlch(44.22, 41.45, 93.23°)
OKLaboklab(51.84% -0.0105 0.0921)
OKLCHoklch(51.84% 0.093 96.5)
XYZxyz(12.9440, 13.9933, 3.3152)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78681F #1F2F78
analogous
#783B1F #78681F #5C781F
triadic
#78681F #1F7868 #681F78
tetradic
#78681F #1F783B #1F2F78 #781F5C
square
#78681F #1F783B #1F2F78 #781F5C
split-complementary
#78681F #1F5C78 #3B1F78
monochromatic
#181506 #473E12 #78681F #A9922C #CEB543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78681F#FFFFFF#000000##FFFFFF
##78681F1.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)
#736614
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#826059
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #78681f;
/* rgb */ color: rgb(120, 104, 31);
/* oklch */ color: oklch(51.8% 0.093 96.5);
Tailwind
colors: {
  custom: {
    50: '#a29260',
    500: '#78681f',
    950: '#000000',
  },
}
SCSS
$custom: #78681f;
$custom-light: #a29260;
$custom-dark: #000000;
JSON
{
  "hex": "#78681f",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 49.213,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.09265,
    "h": 96.5
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#78681F
secondary
#4759AB
accent
#62E246
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #78681F

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

Preview Lab → · Contrast checker → · Palette generator →

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