#828420#828420

#828420 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.118 H 110.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#828420
RGBrgb(130, 132, 32)
HSLhsl(61, 61%, 32%)
HSVhsv(61, 76%, 52%)
CMYKcmyk(1.5%, 0%, 75.8%, 48.2%)
CIE-LABlab(53.33, -13.23, 50.12)
CIE-LCHlch(53.33, 51.83, 104.78°)
OKLaboklab(59.32% -0.0416 0.1103)
OKLCHoklch(59.32% 0.118 110.7)
XYZxyz(17.7185, 21.3531, 4.5544)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828420 #222084
analogous
#845420 #828420 #508420
triadic
#828420 #208284 #842082
tetradic
#828420 #208454 #222084 #842050
square
#828420 #208454 #222084 #842050
split-complementary
#828420 #205084 #542084
monochromatic
#212108 #515314 #828420 #B3B52C #D1D34B

Accessibility & contrast

On white

3.98
#828420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#828420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828420
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828420#FFFFFF#000000##000000
##8284201.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#8B7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #828420;
/* rgb */ color: rgb(130, 132, 32);
/* oklch */ color: oklch(59.3% 0.118 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a764',
    500: '#828420',
    950: '#000000',
  },
}
SCSS
$custom: #828420;
$custom-light: #a9a764;
$custom-dark: #000000;
JSON
{
  "hex": "#828420",
  "rgb": {
    "r": 130,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 61.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.11794,
    "h": 110.7
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#828420
secondary
#4C4AB6
accent
#44E447
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828420

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

Preview Lab → · Contrast checker → · Palette generator →

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