#78661F#78661F

#78661F is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.091 H 94.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#78661F
RGBrgb(120, 102, 31)
HSLhsl(48, 59%, 30%)
HSVhsv(48, 74%, 47%)
CMYKcmyk(0%, 15%, 74.2%, 52.9%)
CIE-LABlab(43.65, -1.18, 40.81)
CIE-LCHlch(43.65, 40.82, 91.65°)
OKLaboklab(51.38% -0.0072 0.0908)
OKLCHoklch(51.38% 0.091 94.5)
XYZxyz(12.7451, 13.5954, 3.2489)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78661F #1F3178
analogous
#783A1F #78661F #5E781F
triadic
#78661F #1F7866 #661F78
tetradic
#78661F #1F783A #1F3178 #781F5E
square
#78661F #1F783A #1F3178 #781F5E
split-complementary
#78661F #1F5E78 #3A1F78
monochromatic
#181506 #473D12 #78661F #A98F2C #CEB243

Accessibility & contrast

On white

5.65
#78661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#78661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78661F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78661F#FFFFFF#000000##FFFFFF
##78661F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#825E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #78661f;
/* rgb */ color: rgb(120, 102, 31);
/* oklch */ color: oklch(51.4% 0.091 94.5);
Tailwind
colors: {
  custom: {
    50: '#a2915f',
    500: '#78661f',
    950: '#000000',
  },
}
SCSS
$custom: #78661f;
$custom-light: #a2915f;
$custom-dark: #000000;
JSON
{
  "hex": "#78661f",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 47.865,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.09112,
    "h": 94.5
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#78661F
secondary
#475CAB
accent
#65E246
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78661F

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

Preview Lab → · Contrast checker → · Palette generator →

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