#82781B#82781B

#82781B is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.109 H 102.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#82781B
RGBrgb(130, 120, 27)
HSLhsl(54, 66%, 31%)
HSVhsv(54, 79%, 51%)
CMYKcmyk(0%, 7.7%, 79.2%, 49%)
CIE-LABlab(49.81, -6.88, 48.61)
CIE-LCHlch(49.81, 49.10, 98.06°)
OKLaboklab(56.5% -0.0244 0.1062)
OKLCHoklch(56.5% 0.109 102.9)
XYZxyz(16.1210, 18.2586, 3.7118)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82781B #1B2582
analogous
#82441B #82781B #58821B
triadic
#82781B #1B8278 #781B82
tetradic
#82781B #1B8244 #1B2582 #821B58
square
#82781B #1B8244 #1B2582 #821B58
split-complementary
#82781B #1B5882 #441B82
monochromatic
#1D1A06 #4F4910 #82781B #B5A726 #D7C940

Accessibility & contrast

On white

4.51
#82781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#82781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #82781B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82781B#FFFFFF#000000##000000
##82781B1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#8C6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #82781b;
/* rgb */ color: rgb(130, 120, 27);
/* oklch */ color: oklch(56.5% 0.109 102.9);
Tailwind
colors: {
  custom: {
    50: '#aa9e60',
    500: '#82781b',
    950: '#000000',
  },
}
SCSS
$custom: #82781b;
$custom-light: #aa9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#82781b",
  "rgb": {
    "r": 130,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 54.175,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.10892,
    "h": 102.9
  },
  "luminance": 0.18258
}

Semantic roles & 50–950 ramp

primary
#82781B
secondary
#434EB6
accent
#50E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #82781B

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

Preview Lab → · Contrast checker → · Palette generator →

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