#828821#828821

#828821 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.122 H 112.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#828821
RGBrgb(130, 136, 33)
HSLhsl(63, 61%, 33%)
HSVhsv(63, 76%, 53%)
CMYKcmyk(4.4%, 0%, 75.7%, 46.7%)
CIE-LABlab(54.52, -15.31, 50.87)
CIE-LCHlch(54.52, 53.13, 106.75°)
OKLaboklab(60.27% -0.0474 0.1121)
OKLCHoklch(60.27% 0.122 112.9)
XYZxyz(18.2852, 22.4644, 4.8114)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828821 #272188
analogous
#885A21 #828821 #4E8821
triadic
#828821 #218288 #882182
tetradic
#828821 #21885A #272188 #88214E
square
#828821 #21885A #272188 #88214E
split-complementary
#828821 #214E88 #5A2188
monochromatic
#242509 #535715 #828821 #B1B92D #CDD44F

Accessibility & contrast

On white

3.82
#828821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#828821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828821
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828821#FFFFFF#000000##000000
##8288211.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#93832A
Tritanopia (blue-blind)
#8B7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #828821;
/* rgb */ color: rgb(130, 136, 33);
/* oklch */ color: oklch(60.3% 0.122 112.9);
Tailwind
colors: {
  custom: {
    50: '#a9aa65',
    500: '#828821',
    950: '#000000',
  },
}
SCSS
$custom: #828821;
$custom-light: #a9aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#828821",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 63.495,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.12173,
    "h": 112.9
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#828821
secondary
#534DB8
accent
#44E44D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828821

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

Preview Lab → · Contrast checker → · Palette generator →

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