#828224#828224

#828224 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.113 H 109.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#828224
RGBrgb(130, 130, 36)
HSLhsl(60, 57%, 33%)
HSVhsv(60, 72%, 51%)
CMYKcmyk(0%, 0%, 72.3%, 49%)
CIE-LABlab(52.77, -11.95, 48.08)
CIE-LCHlch(52.77, 49.54, 103.95°)
OKLaboklab(58.88% -0.0377 0.1068)
OKLCHoklch(58.88% 0.113 109.4)
XYZxyz(17.5076, 20.8390, 4.7688)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828224 #242482
analogous
#825324 #828224 #538224
triadic
#828224 #248282 #822482
tetradic
#828224 #248253 #242482 #822453
square
#828224 #248253 #242482 #822453
split-complementary
#828224 #245382 #532482
monochromatic
#222209 #525217 #828224 #B2B231 #CFCF51

Accessibility & contrast

On white

4.06
#828224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#828224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828224
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828224#FFFFFF#000000##000000
##8282241.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C14
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#8B7970
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #828224;
/* rgb */ color: rgb(130, 130, 36);
/* oklch */ color: oklch(58.9% 0.113 109.4);
Tailwind
colors: {
  custom: {
    50: '#a9a666',
    500: '#828224',
    950: '#000000',
  },
}
SCSS
$custom: #828224;
$custom-light: #a9a666;
$custom-dark: #000000;
JSON
{
  "hex": "#828224",
  "rgb": {
    "r": 130,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.11324,
    "h": 109.4
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#828224
secondary
#4F4FB3
accent
#48E048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828224

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

Preview Lab → · Contrast checker → · Palette generator →

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