#78661B#78661B

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

Color values

HEX#78661B
RGBrgb(120, 102, 27)
HSLhsl(48, 63%, 29%)
HSVhsv(48, 78%, 47%)
CMYKcmyk(0%, 15%, 77.5%, 52.9%)
CIE-LABlab(43.62, -1.39, 42.46)
CIE-LCHlch(43.62, 42.48, 91.87°)
OKLaboklab(51.35% -0.0082 0.0935)
OKLCHoklch(51.35% 0.094 95)
XYZxyz(12.6956, 13.5757, 2.9884)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78661B #1B2D78
analogous
#78381B #78661B #5C781B
triadic
#78661B #1B7866 #661B78
tetradic
#78661B #1B7838 #1B2D78 #781B5C
square
#78661B #1B7838 #1B2D78 #781B5C
split-complementary
#78661B #1B5C78 #381B78
monochromatic
#191506 #463C10 #78661B #AA9026 #D3B53B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78661B#FFFFFF#000000##FFFFFF
##78661B1.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)
#71640E
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #78661b;
/* rgb */ color: rgb(120, 102, 27);
/* oklch */ color: oklch(51.4% 0.094 95.0);
Tailwind
colors: {
  custom: {
    50: '#a2915d',
    500: '#78661b',
    950: '#000000',
  },
}
SCSS
$custom: #78661b;
$custom-light: #a2915d;
$custom-dark: #000000;
JSON
{
  "hex": "#78661b",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 48.387,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.09388,
    "h": 95
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#78661B
secondary
#4357AC
accent
#61E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78661B

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

Preview Lab → · Contrast checker → · Palette generator →

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