#78621B#78621B

#78621B is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.091 H 91.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#78621B
RGBrgb(120, 98, 27)
HSLhsl(46, 63%, 29%)
HSVhsv(46, 78%, 47%)
CMYKcmyk(0%, 18.3%, 77.5%, 52.9%)
CIE-LABlab(42.47, 0.95, 41.36)
CIE-LCHlch(42.47, 41.37, 88.69°)
OKLaboklab(50.45% -0.0016 0.0912)
OKLCHoklch(50.45% 0.091 91)
XYZxyz(12.3119, 12.8083, 2.8605)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78621B #1B3178
analogous
#78341B #78621B #60781B
triadic
#78621B #1B7862 #621B78
tetradic
#78621B #1B7834 #1B3178 #781B60
square
#78621B #1B7834 #1B3178 #781B60
split-complementary
#78621B #1B6078 #341B78
monochromatic
#191406 #463910 #78621B #AA8B26 #D3AF3B

Accessibility & contrast

On white

5.90
#78621B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#78621B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78621B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78621B#FFFFFF#000000##FFFFFF
##78621B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#825954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #78621b;
/* rgb */ color: rgb(120, 98, 27);
/* oklch */ color: oklch(50.4% 0.091 91.0);
Tailwind
colors: {
  custom: {
    50: '#a28e5d',
    500: '#78621b',
    950: '#000000',
  },
}
SCSS
$custom: #78621b;
$custom-light: #a28e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#78621b",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 27
  },
  "hsl": {
    "h": 45.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.09119,
    "h": 91
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#78621B
secondary
#435CAC
accent
#68E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78621B

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

Preview Lab → · Contrast checker → · Palette generator →

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