#828D1A#828D1A

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

Color values

HEX#828D1A
RGBrgb(130, 141, 26)
HSLhsl(66, 69%, 33%)
HSVhsv(66, 82%, 55%)
CMYKcmyk(7.8%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.96, -18.23, 54.47)
CIE-LCHlch(55.96, 57.44, 108.51°)
OKLaboklab(61.41% -0.056 0.1185)
OKLCHoklch(61.41% 0.131 115.3)
XYZxyz(18.9178, 23.8705, 4.5880)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D1A #251A8D
analogous
#8D5E1A #828D1A #498D1A
triadic
#828D1A #1A828D #8D1A82
tetradic
#828D1A #1A8D5E #251A8D #8D1A49
square
#828D1A #1A8D5E #251A8D #8D1A49
split-complementary
#828D1A #1A498D #5E1A8D
monochromatic
#232607 #525910 #828D1A #B2C124 #CEDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828D1A#FFFFFF#000000##000000
##828D1A1.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)
#978725
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d1a;
/* rgb */ color: rgb(130, 141, 26);
/* oklch */ color: oklch(61.4% 0.131 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae62',
    500: '#828d1a',
    950: '#000000',
  },
}
SCSS
$custom: #828d1a;
$custom-light: #aaae62;
$custom-dark: #000000;
JSON
{
  "hex": "#828d1a",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 65.739,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61409,
    "c": 0.13106,
    "h": 115.3
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#828D1A
secondary
#5045BE
accent
#3CEC4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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