#828D17#828D17

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

Color values

HEX#828D17
RGBrgb(130, 141, 23)
HSLhsl(66, 72%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(7.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(55.95, -18.34, 55.30)
CIE-LCHlch(55.95, 58.27, 108.35°)
OKLaboklab(61.4% -0.0565 0.1197)
OKLCHoklch(61.4% 0.132 115.3)
XYZxyz(18.8860, 23.8578, 4.4206)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D17 #22178D
analogous
#8D5D17 #828D17 #478D17
triadic
#828D17 #17828D #8D1782
tetradic
#828D17 #178D5D #22178D #8D1747
square
#828D17 #178D5D #22178D #8D1747
split-complementary
#828D17 #17478D #5D178D
monochromatic
#212406 #51580E #828D17 #B3C220 #D1E03F

Accessibility & contrast

On white

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

On black

5.77
#828D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D17
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D17#FFFFFF#000000##000000
##828D171.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #828d17;
/* rgb */ color: rgb(130, 141, 23);
/* oklch */ color: oklch(61.4% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae61',
    500: '#828d17',
    950: '#000000',
  },
}
SCSS
$custom: #828d17;
$custom-light: #aaae61;
$custom-dark: #000000;
JSON
{
  "hex": "#828d17",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 65.593,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.13241,
    "h": 115.3
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#828D17
secondary
#4C40C0
accent
#39EF4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828D17

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

Preview Lab → · Contrast checker → · Palette generator →

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