#78621D#78621D

#78621D is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.5% C 0.090 H 90.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#78621D
RGBrgb(120, 98, 29)
HSLhsl(45, 61%, 29%)
HSVhsv(45, 76%, 47%)
CMYKcmyk(0%, 18.3%, 75.8%, 52.9%)
CIE-LABlab(42.49, 1.05, 40.52)
CIE-LCHlch(42.49, 40.54, 88.52°)
OKLaboklab(50.46% -0.001 0.0898)
OKLCHoklch(50.46% 0.09 90.7)
XYZxyz(12.3359, 12.8179, 2.9865)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78621D #1D3378
analogous
#78351D #78621D #61781D
triadic
#78621D #1D7862 #621D78
tetradic
#78621D #1D7835 #1D3378 #781D61
square
#78621D #1D7835 #1D3378 #781D61
split-complementary
#78621D #1D6178 #351D78
monochromatic
#191406 #473A11 #78621D #A98A29 #D1AD3F

Accessibility & contrast

On white

5.89
#78621D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78621D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78621D#FFFFFF#000000##FFFFFF
##78621D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6113
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#825954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #78621d;
/* rgb */ color: rgb(120, 98, 29);
/* oklch */ color: oklch(50.5% 0.090 90.7);
Tailwind
colors: {
  custom: {
    50: '#a28e5e',
    500: '#78621d',
    950: '#000000',
  },
}
SCSS
$custom: #78621d;
$custom-light: #a28e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#78621d",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 29
  },
  "hsl": {
    "h": 45.495,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.08984,
    "h": 90.7
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#78621D
secondary
#455EAC
accent
#6AE444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78621D

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

Preview Lab → · Contrast checker → · Palette generator →

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