#828C22#828C22

#828C22 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.126 H 114.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#828C22
RGBrgb(130, 140, 34)
HSLhsl(66, 61%, 34%)
HSVhsv(66, 76%, 55%)
CMYKcmyk(7.1%, 0%, 75.7%, 45.1%)
CIE-LABlab(55.70, -17.36, 51.64)
CIE-LCHlch(55.70, 54.48, 108.58°)
OKLaboklab(61.22% -0.053 0.1139)
OKLCHoklch(61.22% 0.126 114.9)
XYZxyz(18.8733, 23.6178, 5.0775)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C22 #2C228C
analogous
#8C6122 #828C22 #4D8C22
triadic
#828C22 #22828C #8C2282
tetradic
#828C22 #228C61 #2C228C #8C224D
square
#828C22 #228C61 #2C228C #8C224D
split-complementary
#828C22 #224D8C #61228C
monochromatic
#272A0A #545B16 #828C22 #B0BD2E #C9D553

Accessibility & contrast

On white

3.67
#828C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#828C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C22
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C22#FFFFFF#000000##000000
##828C221.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850B
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c22;
/* rgb */ color: rgb(130, 140, 34);
/* oklch */ color: oklch(61.2% 0.126 114.9);
Tailwind
colors: {
  custom: {
    50: '#a9ad66',
    500: '#828c22',
    950: '#000000',
  },
}
SCSS
$custom: #828c22;
$custom-light: #a9ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#828c22",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 65.66,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.12565,
    "h": 114.9
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#828C22
secondary
#5B51B9
accent
#44E453
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C22

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

Preview Lab → · Contrast checker → · Palette generator →

#828C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva