#828C1A#828C1A

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

Color values

HEX#828C1A
RGBrgb(130, 140, 26)
HSLhsl(65, 69%, 33%)
HSVhsv(65, 81%, 55%)
CMYKcmyk(7.1%, 0%, 81.4%, 45.1%)
CIE-LABlab(55.66, -17.71, 54.21)
CIE-LCHlch(55.66, 57.03, 108.09°)
OKLaboklab(61.17% -0.0546 0.1179)
OKLCHoklch(61.17% 0.13 114.8)
XYZxyz(18.7710, 23.5769, 4.5391)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C1A #241A8C
analogous
#8C5D1A #828C1A #498C1A
triadic
#828C1A #1A828C #8C1A82
tetradic
#828C1A #1A8C5D #241A8C #8C1A49
square
#828C1A #1A8C5D #241A8C #8C1A49
split-complementary
#828C1A #1A498C #5D1A8C
monochromatic
#222507 #525810 #828C1A #B2C024 #CFDC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828C1A#FFFFFF#000000##000000
##828C1A1.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)
#968625
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c1a;
/* rgb */ color: rgb(130, 140, 26);
/* oklch */ color: oklch(61.2% 0.130 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaad62',
    500: '#828c1a',
    950: '#000000',
  },
}
SCSS
$custom: #828c1a;
$custom-light: #aaad62;
$custom-dark: #000000;
JSON
{
  "hex": "#828c1a",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 65.263,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.12995,
    "h": 114.8
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#828C1A
secondary
#4F44BE
accent
#3CEC4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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