#828422#828422

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

Color values

HEX#828422
RGBrgb(130, 132, 34)
HSLhsl(61, 59%, 33%)
HSVhsv(61, 74%, 52%)
CMYKcmyk(1.5%, 0%, 74.2%, 48.2%)
CIE-LABlab(53.35, -13.13, 49.39)
CIE-LCHlch(53.35, 51.11, 104.88°)
OKLaboklab(59.33% -0.0412 0.1092)
OKLCHoklch(59.33% 0.117 110.7)
XYZxyz(17.7465, 21.3643, 4.7020)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828422 #242284
analogous
#845522 #828422 #518422
triadic
#828422 #228284 #842282
tetradic
#828422 #228455 #242284 #842251
square
#828422 #228455 #242284 #842251
split-complementary
#828422 #225184 #552284
monochromatic
#222309 #525315 #828422 #B2B52F #CFD24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828422#FFFFFF#000000##000000
##8284221.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)
#8F7E0F
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#8B7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #828422;
/* rgb */ color: rgb(130, 132, 34);
/* oklch */ color: oklch(59.3% 0.117 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a765',
    500: '#828422',
    950: '#000000',
  },
}
SCSS
$custom: #828422;
$custom-light: #a9a765;
$custom-dark: #000000;
JSON
{
  "hex": "#828422",
  "rgb": {
    "r": 130,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 61.224,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.1167,
    "h": 110.7
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#828422
secondary
#4F4DB5
accent
#46E249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828422

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

Preview Lab → · Contrast checker → · Palette generator →

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