#78621E#78621E

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

Color values

HEX#78621E
RGBrgb(120, 98, 30)
HSLhsl(45, 60%, 29%)
HSVhsv(45, 75%, 47%)
CMYKcmyk(0%, 18.3%, 75%, 52.9%)
CIE-LABlab(42.50, 1.10, 40.10)
CIE-LCHlch(42.50, 40.11, 88.42°)
OKLaboklab(50.47% -0.0007 0.0891)
OKLCHoklch(50.47% 0.089 90.5)
XYZxyz(12.3484, 12.8229, 3.0527)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78621E #1E3478
analogous
#78351E #78621E #61781E
triadic
#78621E #1E7862 #621E78
tetradic
#78621E #1E7835 #1E3478 #781E61
square
#78621E #1E7835 #1E3478 #781E61
split-complementary
#78621E #1E6178 #351E78
monochromatic
#181406 #473A12 #78621E #A98A2A #CFAD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78621E#FFFFFF#000000##FFFFFF
##78621E1.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)
#6E6114
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#825954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #78621e;
/* rgb */ color: rgb(120, 98, 30);
/* oklch */ color: oklch(50.5% 0.089 90.5);
Tailwind
colors: {
  custom: {
    50: '#a28e5e',
    500: '#78621e',
    950: '#000000',
  },
}
SCSS
$custom: #78621e;
$custom-light: #a28e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#78621e",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 30
  },
  "hsl": {
    "h": 45.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.08913,
    "h": 90.5
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#78621E
secondary
#465FAC
accent
#6BE345
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78621E

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

Preview Lab → · Contrast checker → · Palette generator →

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