#82821C#82821C

#82821C is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.118 H 109.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#82821C
RGBrgb(130, 130, 28)
HSLhsl(60, 65%, 31%)
HSVhsv(60, 78%, 51%)
CMYKcmyk(0%, 0%, 78.5%, 49%)
CIE-LABlab(52.73, -12.33, 50.94)
CIE-LCHlch(52.73, 52.41, 103.61°)
OKLaboklab(58.82% -0.0395 0.1113)
OKLCHoklch(58.82% 0.118 109.5)
XYZxyz(17.3988, 20.7955, 4.1958)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82821C #1C1C82
analogous
#824F1C #82821C #4F821C
triadic
#82821C #1C8282 #821C82
tetradic
#82821C #1C824F #1C1C82 #821C4F
square
#82821C #1C824F #1C1C82 #821C4F
split-complementary
#82821C #1C4F82 #4F1C82
monochromatic
#1D1D06 #505011 #82821C #B4B427 #D6D642

Accessibility & contrast

On white

4.07
#82821C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#82821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #82821C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82821C#FFFFFF#000000##000000
##82821C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C02
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#8C796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #82821c;
/* rgb */ color: rgb(130, 130, 28);
/* oklch */ color: oklch(58.8% 0.118 109.5);
Tailwind
colors: {
  custom: {
    50: '#aaa662',
    500: '#82821c',
    950: '#000000',
  },
}
SCSS
$custom: #82821c;
$custom-light: #aaa662;
$custom-dark: #000000;
JSON
{
  "hex": "#82821c",
  "rgb": {
    "r": 130,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.11812,
    "h": 109.5
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#82821C
secondary
#4444B5
accent
#40E840
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #82821C

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

Preview Lab → · Contrast checker → · Palette generator →

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