#828A16#828A16

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

Color values

HEX#828A16
RGBrgb(130, 138, 22)
HSLhsl(64, 73%, 31%)
HSVhsv(64, 84%, 54%)
CMYKcmyk(5.8%, 0%, 84.1%, 45.9%)
CIE-LABlab(55.05, -16.81, 54.80)
CIE-LCHlch(55.05, 57.32, 107.05°)
OKLaboklab(60.68% -0.0524 0.1185)
OKLCHoklch(60.68% 0.13 113.9)
XYZxyz(18.4398, 22.9811, 4.2233)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828A16 #1E168A
analogous
#8A5816 #828A16 #488A16
triadic
#828A16 #16828A #8A1682
tetradic
#828A16 #168A58 #1E168A #8A1648
square
#828A16 #168A58 #1E168A #8A1648
split-complementary
#828A16 #16488A #58168A
monochromatic
#1F2005 #50550E #828A16 #B4BF1E #D4E03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828A16#FFFFFF#000000##000000
##828A161.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)
#958522
Tritanopia (blue-blind)
#8B8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #828a16;
/* rgb */ color: rgb(130, 138, 22);
/* oklch */ color: oklch(60.7% 0.130 113.9);
Tailwind
colors: {
  custom: {
    50: '#aaac60',
    500: '#828a16',
    950: '#000000',
  },
}
SCSS
$custom: #828a16;
$custom-light: #aaac60;
$custom-dark: #000000;
JSON
{
  "hex": "#828a16",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 64.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.12955,
    "h": 113.9
  },
  "luminance": 0.22981
}

Semantic roles & 50–950 ramp

primary
#828A16
secondary
#473EBE
accent
#39EF45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828A16

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

Preview Lab → · Contrast checker → · Palette generator →

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