#828A1A#828A1A

#828A1A is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.128 H 113.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#828A1A
RGBrgb(130, 138, 26)
HSLhsl(64, 68%, 32%)
HSVhsv(64, 81%, 54%)
CMYKcmyk(5.8%, 0%, 81.2%, 45.9%)
CIE-LABlab(55.07, -16.67, 53.68)
CIE-LCHlch(55.07, 56.21, 107.25°)
OKLaboklab(60.7% -0.0517 0.1168)
OKLCHoklch(60.7% 0.128 113.9)
XYZxyz(18.4814, 22.9978, 4.4425)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828A1A #221A8A
analogous
#8A5A1A #828A1A #4A8A1A
triadic
#828A1A #1A828A #8A1A82
tetradic
#828A1A #1A8A5A #221A8A #8A1A4A
square
#828A1A #1A8A5A #221A8A #8A1A4A
split-complementary
#828A1A #1A4A8A #5A1A8A
monochromatic
#212307 #515710 #828A1A #B3BD24 #D1DC43

Accessibility & contrast

On white

3.75
#828A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#828A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828A1A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828A1A#FFFFFF#000000##000000
##828A1A1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#8B8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #828a1a;
/* rgb */ color: rgb(130, 138, 26);
/* oklch */ color: oklch(60.7% 0.128 113.9);
Tailwind
colors: {
  custom: {
    50: '#aaac62',
    500: '#828a1a',
    950: '#000000',
  },
}
SCSS
$custom: #828a1a;
$custom-light: #aaac62;
$custom-dark: #000000;
JSON
{
  "hex": "#828a1a",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 64.286,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60697,
    "c": 0.12773,
    "h": 113.9
  },
  "luminance": 0.22997
}

Semantic roles & 50–950 ramp

primary
#828A1A
secondary
#4C43BD
accent
#3DEB49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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