#828522#828522

#828522 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.6% C 0.118 H 111.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#828522
RGBrgb(130, 133, 34)
HSLhsl(62, 59%, 33%)
HSVhsv(62, 74%, 52%)
CMYKcmyk(2.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(53.64, -13.66, 49.68)
CIE-LCHlch(53.64, 51.52, 105.38°)
OKLaboklab(59.57% -0.0427 0.1098)
OKLCHoklch(59.57% 0.118 111.2)
XYZxyz(17.8828, 21.6368, 4.7474)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828522 #252285
analogous
#855622 #828522 #518522
triadic
#828522 #228285 #852282
tetradic
#828522 #228556 #252285 #852251
square
#828522 #228556 #252285 #852251
split-complementary
#828522 #225185 #562285
monochromatic
#232409 #525416 #828522 #B2B62E #CED24F

Accessibility & contrast

On white

3.94
#828522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#828522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828522
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828522#FFFFFF#000000##000000
##8285221.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#8B7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #828522;
/* rgb */ color: rgb(130, 133, 34);
/* oklch */ color: oklch(59.6% 0.118 111.2);
Tailwind
colors: {
  custom: {
    50: '#a9a865',
    500: '#828522',
    950: '#000000',
  },
}
SCSS
$custom: #828522;
$custom-light: #a9a865;
$custom-dark: #000000;
JSON
{
  "hex": "#828522",
  "rgb": {
    "r": 130,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 61.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59565,
    "c": 0.11779,
    "h": 111.2
  },
  "luminance": 0.21636
}

Semantic roles & 50–950 ramp

primary
#828522
secondary
#504DB6
accent
#45E24A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828522

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

Preview Lab → · Contrast checker → · Palette generator →

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