#828822#828822

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

Color values

HEX#828822
RGBrgb(130, 136, 34)
HSLhsl(64, 60%, 33%)
HSVhsv(64, 75%, 53%)
CMYKcmyk(4.4%, 0%, 75%, 46.7%)
CIE-LABlab(54.52, -15.26, 50.52)
CIE-LCHlch(54.52, 52.77, 106.81°)
OKLaboklab(60.27% -0.0471 0.1116)
OKLCHoklch(60.27% 0.121 112.9)
XYZxyz(18.2994, 22.4700, 4.8862)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828822 #282288
analogous
#885B22 #828822 #4F8822
triadic
#828822 #228288 #882282
tetradic
#828822 #22885B #282288 #88224F
square
#828822 #22885B #282288 #88224F
split-complementary
#828822 #224F88 #5B2288
monochromatic
#24260A #535716 #828822 #B1B92E #CCD351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828822#FFFFFF#000000##000000
##8288221.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)
#93810D
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#8B7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #828822;
/* rgb */ color: rgb(130, 136, 34);
/* oklch */ color: oklch(60.3% 0.121 112.9);
Tailwind
colors: {
  custom: {
    50: '#a9aa65',
    500: '#828822',
    950: '#000000',
  },
}
SCSS
$custom: #828822;
$custom-light: #a9aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#828822",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 63.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.12111,
    "h": 112.9
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#828822
secondary
#554FB7
accent
#45E34E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828822

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

Preview Lab → · Contrast checker → · Palette generator →

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