#828B1A#828B1A

#828B1A is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.9% C 0.129 H 114.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#828B1A
RGBrgb(130, 139, 26)
HSLhsl(65, 68%, 32%)
HSVhsv(65, 81%, 55%)
CMYKcmyk(6.5%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.37, -17.19, 53.94)
CIE-LCHlch(55.37, 56.62, 107.68°)
OKLaboklab(60.93% -0.0532 0.1174)
OKLCHoklch(60.93% 0.129 114.4)
XYZxyz(18.6256, 23.2860, 4.4906)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B1A #231A8B
analogous
#8B5C1A #828B1A #498B1A
triadic
#828B1A #1A828B #8B1A82
tetradic
#828B1A #1A8B5C #231A8B #8B1A49
square
#828B1A #1A8B5C #231A8B #8B1A49
split-complementary
#828B1A #1A498B #5C1A8B
monochromatic
#222407 #525710 #828B1A #B2BF24 #D0DC43

Accessibility & contrast

On white

3.71
#828B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#828B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B1A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B1A#FFFFFF#000000##000000
##828B1A1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#8B8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b1a;
/* rgb */ color: rgb(130, 139, 26);
/* oklch */ color: oklch(60.9% 0.129 114.4);
Tailwind
colors: {
  custom: {
    50: '#aaac62',
    500: '#828b1a',
    950: '#000000',
  },
}
SCSS
$custom: #828b1a;
$custom-light: #aaac62;
$custom-dark: #000000;
JSON
{
  "hex": "#828b1a",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 64.779,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.12884,
    "h": 114.4
  },
  "luminance": 0.23286
}

Semantic roles & 50–950 ramp

primary
#828B1A
secondary
#4D44BD
accent
#3CEB4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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