#78621F#78621F

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

Color values

HEX#78621F
RGBrgb(120, 98, 31)
HSLhsl(45, 59%, 30%)
HSVhsv(45, 74%, 47%)
CMYKcmyk(0%, 18.3%, 74.2%, 52.9%)
CIE-LABlab(42.50, 1.16, 39.66)
CIE-LCHlch(42.50, 39.68, 88.33°)
OKLaboklab(50.48% -0.0005 0.0884)
OKLCHoklch(50.48% 0.088 90.3)
XYZxyz(12.3614, 12.8281, 3.1210)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78621F #1F3578
analogous
#78361F #78621F #61781F
triadic
#78621F #1F7862 #621F78
tetradic
#78621F #1F7836 #1F3578 #781F61
square
#78621F #1F7836 #1F3578 #781F61
split-complementary
#78621F #1F6178 #361F78
monochromatic
#181406 #473A12 #78621F #A98A2C #CEAC43

Accessibility & contrast

On white

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

On black

3.57
#78621F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78621F#FFFFFF#000000##FFFFFF
##78621F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78621f;
/* rgb */ color: rgb(120, 98, 31);
/* oklch */ color: oklch(50.5% 0.088 90.3);
Tailwind
colors: {
  custom: {
    50: '#a28e5f',
    500: '#78621f',
    950: '#000000',
  },
}
SCSS
$custom: #78621f;
$custom-light: #a28e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78621f",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 31
  },
  "hsl": {
    "h": 45.169,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.08841,
    "h": 90.3
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#78621F
secondary
#4760AB
accent
#6CE246
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78621F

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

Preview Lab → · Contrast checker → · Palette generator →

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