#80781C#80781C

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

Color values

HEX#80781C
RGBrgb(128, 120, 28)
HSLhsl(55, 64%, 31%)
HSVhsv(55, 78%, 50%)
CMYKcmyk(0%, 6.3%, 78.1%, 49.8%)
CIE-LABlab(49.63, -7.78, 48.02)
CIE-LCHlch(49.63, 48.65, 99.20°)
OKLaboklab(56.31% -0.0267 0.1052)
OKLCHoklch(56.31% 0.109 104.2)
XYZxyz(15.8289, 18.1066, 3.7595)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80781C #1C2480
analogous
#80461C #80781C #56801C
triadic
#80781C #1C8078 #781C80
tetradic
#80781C #1C8046 #1C2480 #801C56
square
#80781C #1C8046 #1C2480 #801C56
split-complementary
#80781C #1C5680 #461C80
monochromatic
#1C1A06 #4E4911 #80781C #B2A727 #D5CA41

Accessibility & contrast

On white

4.54
#80781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##80781C#FFFFFF#000000##000000
##80781C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837408
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#8A6F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #80781c;
/* rgb */ color: rgb(128, 120, 28);
/* oklch */ color: oklch(56.3% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#a89e60',
    500: '#80781c',
    950: '#000000',
  },
}
SCSS
$custom: #80781c;
$custom-light: #a89e60;
$custom-dark: #000000;
JSON
{
  "hex": "#80781c",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 55.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.10852,
    "h": 104.2
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#80781C
secondary
#444DB3
accent
#4EE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80781C

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

Preview Lab → · Contrast checker → · Palette generator →

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