#828020#828020

#828020 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.114 H 108.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#828020
RGBrgb(130, 128, 32)
HSLhsl(59, 60%, 32%)
HSVhsv(59, 75%, 51%)
CMYKcmyk(0%, 1.5%, 75.4%, 49%)
CIE-LABlab(52.16, -11.06, 49.01)
CIE-LCHlch(52.16, 50.24, 102.72°)
OKLaboklab(58.38% -0.0356 0.108)
OKLCHoklch(58.38% 0.114 108.2)
XYZxyz(17.1865, 20.2890, 4.3771)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828020 #202282
analogous
#824F20 #828020 #538220
triadic
#828020 #208280 #802082
tetradic
#828020 #20824F #202282 #822053
square
#828020 #20824F #202282 #822053
split-complementary
#828020 #205382 #4F2082
monochromatic
#201F08 #515014 #828020 #B3B02C #D2D04A

Accessibility & contrast

On white

4.15
#828020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#828020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828020
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828020#FFFFFF#000000##000000
##8280201.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#8C776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #828020;
/* rgb */ color: rgb(130, 128, 32);
/* oklch */ color: oklch(58.4% 0.114 108.2);
Tailwind
colors: {
  custom: {
    50: '#a9a463',
    500: '#828020',
    950: '#000000',
  },
}
SCSS
$custom: #828020;
$custom-light: #a9a463;
$custom-dark: #000000;
JSON
{
  "hex": "#828020",
  "rgb": {
    "r": 130,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 58.776,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.11372,
    "h": 108.2
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#828020
secondary
#494BB5
accent
#47E444
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828020

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

Preview Lab → · Contrast checker → · Palette generator →

#828020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva