#828C1D#828C1D

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

Color values

HEX#828C1D
RGBrgb(130, 140, 29)
HSLhsl(65, 66%, 33%)
HSVhsv(65, 79%, 55%)
CMYKcmyk(7.1%, 0%, 79.3%, 45.1%)
CIE-LABlab(55.68, -17.59, 53.30)
CIE-LCHlch(55.68, 56.13, 108.27°)
OKLaboklab(61.19% -0.054 0.1165)
OKLCHoklch(61.19% 0.128 114.9)
XYZxyz(18.8063, 23.5910, 4.7250)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C1D #271D8C
analogous
#8C5E1D #828C1D #4B8C1D
triadic
#828C1D #1D828C #8C1D82
tetradic
#828C1D #1D8C5E #271D8C #8C1D4B
square
#828C1D #1D8C5E #271D8C #8C1D4B
split-complementary
#828C1D #1D4B8C #5E1D8C
monochromatic
#242708 #535912 #828C1D #B1BF28 #CDD94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828C1D#FFFFFF#000000##000000
##828C1D1.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)
#978500
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c1d;
/* rgb */ color: rgb(130, 140, 29);
/* oklch */ color: oklch(61.2% 0.128 114.9);
Tailwind
colors: {
  custom: {
    50: '#aaad63',
    500: '#828c1d',
    950: '#000000',
  },
}
SCSS
$custom: #828c1d;
$custom-light: #aaad63;
$custom-dark: #000000;
JSON
{
  "hex": "#828c1d",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 65.405,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.12844,
    "h": 114.9
  },
  "luminance": 0.23591
}

Semantic roles & 50–950 ramp

primary
#828C1D
secondary
#5349BC
accent
#3FE94E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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