#828D1D#828D1D

#828D1D is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.4% C 0.130 H 115.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#828D1D
RGBrgb(130, 141, 29)
HSLhsl(66, 66%, 33%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(7.8%, 0%, 79.4%, 44.7%)
CIE-LABlab(55.97, -18.11, 53.57)
CIE-LCHlch(55.97, 56.55, 108.68°)
OKLaboklab(61.43% -0.0555 0.1171)
OKLCHoklch(61.43% 0.13 115.3)
XYZxyz(18.9531, 23.8846, 4.7739)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D1D #281D8D
analogous
#8D601D #828D1D #4A8D1D
triadic
#828D1D #1D828D #8D1D82
tetradic
#828D1D #1D8D60 #281D8D #8D1D4A
square
#828D1D #1D8D60 #281D8D #8D1D4A
split-complementary
#828D1D #1D4A8D #601D8D
monochromatic
#242708 #535A13 #828D1D #B1C027 #CCDA4B

Accessibility & contrast

On white

3.64
#828D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#828D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D1D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D1D#FFFFFF#000000##000000
##828D1D1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d1d;
/* rgb */ color: rgb(130, 141, 29);
/* oklch */ color: oklch(61.4% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae64',
    500: '#828d1d',
    950: '#000000',
  },
}
SCSS
$custom: #828d1d;
$custom-light: #aaae64;
$custom-dark: #000000;
JSON
{
  "hex": "#828d1d",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 65.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.12957,
    "h": 115.3
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#828D1D
secondary
#554ABC
accent
#3FE950
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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