#78621C#78621C

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

Color values

HEX#78621C
RGBrgb(120, 98, 28)
HSLhsl(46, 62%, 29%)
HSVhsv(46, 77%, 47%)
CMYKcmyk(0%, 18.3%, 76.7%, 52.9%)
CIE-LABlab(42.48, 1.00, 40.95)
CIE-LCHlch(42.48, 40.96, 88.60°)
OKLaboklab(50.46% -0.0013 0.0905)
OKLCHoklch(50.46% 0.091 90.8)
XYZxyz(12.3237, 12.8130, 2.9224)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78621C #1C3278
analogous
#78341C #78621C #60781C
triadic
#78621C #1C7862 #621C78
tetradic
#78621C #1C7834 #1C3278 #781C60
square
#78621C #1C7834 #1C3278 #781C60
split-complementary
#78621C #1C6078 #341C78
monochromatic
#191406 #463910 #78621C #AA8B28 #D2AE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78621C#FFFFFF#000000##FFFFFF
##78621C1.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)
#6E6111
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#825954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #78621c;
/* rgb */ color: rgb(120, 98, 28);
/* oklch */ color: oklch(50.5% 0.091 90.8);
Tailwind
colors: {
  custom: {
    50: '#a28e5d',
    500: '#78621c',
    950: '#000000',
  },
}
SCSS
$custom: #78621c;
$custom-light: #a28e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#78621c",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 28
  },
  "hsl": {
    "h": 45.652,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.09052,
    "h": 90.8
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#78621C
secondary
#445DAC
accent
#69E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78621C

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

Preview Lab → · Contrast checker → · Palette generator →

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