#80781A#80781A

#80781A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.110 H 104.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#80781A
RGBrgb(128, 120, 26)
HSLhsl(55, 66%, 30%)
HSVhsv(55, 80%, 50%)
CMYKcmyk(0%, 6.3%, 79.7%, 49.8%)
CIE-LABlab(49.61, -7.86, 48.71)
CIE-LCHlch(49.61, 49.34, 99.17°)
OKLaboklab(56.29% -0.0271 0.1063)
OKLCHoklch(56.29% 0.11 104.3)
XYZxyz(15.8057, 18.0974, 3.6377)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80781A #1A2280
analogous
#80451A #80781A #55801A
triadic
#80781A #1A8078 #781A80
tetradic
#80781A #1A8045 #1A2280 #801A55
square
#80781A #1A8045 #1A2280 #801A55
split-complementary
#80781A #1A5580 #451A80
monochromatic
#1A1905 #4D4810 #80781A #B3A824 #D8CB3D

Accessibility & contrast

On white

4.55
#80781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#80781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80781A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80781A#FFFFFF#000000##000000
##80781A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837403
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#8A6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #80781a;
/* rgb */ color: rgb(128, 120, 26);
/* oklch */ color: oklch(56.3% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#a89e5f',
    500: '#80781a',
    950: '#000000',
  },
}
SCSS
$custom: #80781a;
$custom-light: #a89e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#80781a",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 55.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.10966,
    "h": 104.3
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#80781A
secondary
#424BB4
accent
#4CE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80781A

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

Preview Lab → · Contrast checker → · Palette generator →

#80781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva