#828C20#828C20

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

Color values

HEX#828C20
RGBrgb(130, 140, 32)
HSLhsl(66, 63%, 34%)
HSVhsv(66, 77%, 55%)
CMYKcmyk(7.1%, 0%, 77.1%, 45.1%)
CIE-LABlab(55.69, -17.46, 52.32)
CIE-LCHlch(55.69, 55.16, 108.45°)
OKLaboklab(61.21% -0.0534 0.115)
OKLCHoklch(61.21% 0.127 114.9)
XYZxyz(18.8453, 23.6066, 4.9300)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C20 #2A208C
analogous
#8C6020 #828C20 #4C8C20
triadic
#828C20 #20828C #8C2082
tetradic
#828C20 #208C60 #2A208C #8C204C
square
#828C20 #208C60 #2A208C #8C204C
split-complementary
#828C20 #204C8C #60208C
monochromatic
#252809 #545A15 #828C20 #B0BE2B #CAD750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828C20#FFFFFF#000000##000000
##828C201.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)
#968506
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#8B8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c20;
/* rgb */ color: rgb(130, 140, 32);
/* oklch */ color: oklch(61.2% 0.127 114.9);
Tailwind
colors: {
  custom: {
    50: '#aaad65',
    500: '#828c20',
    950: '#000000',
  },
}
SCSS
$custom: #828c20;
$custom-light: #aaad65;
$custom-dark: #000000;
JSON
{
  "hex": "#828c20",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 65.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.12681,
    "h": 114.9
  },
  "luminance": 0.23606
}

Semantic roles & 50–950 ramp

primary
#828C20
secondary
#584EBA
accent
#42E651
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C20

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

Preview Lab → · Contrast checker → · Palette generator →

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