#80781B#80781B

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

Color values

HEX#80781B
RGBrgb(128, 120, 27)
HSLhsl(55, 65%, 30%)
HSVhsv(55, 79%, 50%)
CMYKcmyk(0%, 6.3%, 78.9%, 49.8%)
CIE-LABlab(49.62, -7.82, 48.37)
CIE-LCHlch(49.62, 49.00, 99.19°)
OKLaboklab(56.3% -0.0269 0.1057)
OKLCHoklch(56.3% 0.109 104.3)
XYZxyz(15.8171, 18.1019, 3.6976)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80781B #1B2380
analogous
#80461B #80781B #55801B
triadic
#80781B #1B8078 #781B80
tetradic
#80781B #1B8046 #1B2380 #801B55
square
#80781B #1B8046 #1B2380 #801B55
split-complementary
#80781B #1B5580 #461B80
monochromatic
#1B1906 #4D4910 #80781B #B3A726 #D6CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80781B#FFFFFF#000000##000000
##80781B1.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)
#837405
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#8A6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #80781b;
/* rgb */ color: rgb(128, 120, 27);
/* oklch */ color: oklch(56.3% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a89e60',
    500: '#80781b',
    950: '#000000',
  },
}
SCSS
$custom: #80781b;
$custom-light: #a89e60;
$custom-dark: #000000;
JSON
{
  "hex": "#80781b",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 55.248,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.1091,
    "h": 104.3
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#80781B
secondary
#434CB4
accent
#4DE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80781B

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

Preview Lab → · Contrast checker → · Palette generator →

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