#828D16#828D16

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

Color values

HEX#828D16
RGBrgb(130, 141, 22)
HSLhsl(66, 73%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(7.8%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.94, -18.37, 55.57)
CIE-LCHlch(55.94, 58.53, 108.30°)
OKLaboklab(61.39% -0.0567 0.1201)
OKLCHoklch(61.39% 0.133 115.3)
XYZxyz(18.8762, 23.8538, 4.3688)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D16 #21168D
analogous
#8D5D16 #828D16 #478D16
triadic
#828D16 #16828D #8D1682
tetradic
#828D16 #168D5D #21168D #8D1647
square
#828D16 #168D5D #21168D #8D1647
split-complementary
#828D16 #16478D #5D168D
monochromatic
#202305 #51580E #828D16 #B3C21E #D2E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #828d16;
/* rgb */ color: rgb(130, 141, 22);
/* oklch */ color: oklch(61.4% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae61',
    500: '#828d16',
    950: '#000000',
  },
}
SCSS
$custom: #828d16;
$custom-light: #aaae61;
$custom-dark: #000000;
JSON
{
  "hex": "#828d16",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 65.546,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.13283,
    "h": 115.3
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#828D16
secondary
#4A3EC1
accent
#38F049
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828D16

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

Preview Lab → · Contrast checker → · Palette generator →

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