#828717#828717

#828717 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 60.0% C 0.126 H 112.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#828717
RGBrgb(130, 135, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 53%)
CMYKcmyk(3.7%, 0%, 83%, 47.1%)
CIE-LABlab(54.17, -15.20, 53.77)
CIE-LCHlch(54.17, 55.87, 105.78°)
OKLaboklab(59.97% -0.0479 0.1164)
OKLCHoklch(59.97% 0.126 112.4)
XYZxyz(18.0252, 22.1361, 4.1336)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828717 #1C1787
analogous
#875417 #828717 #4A8717
triadic
#828717 #178287 #871782
tetradic
#828717 #178754 #1C1787 #87174A
square
#828717 #178754 #1C1787 #87174A
split-complementary
#828717 #174A87 #541787
monochromatic
#1D1E05 #50530E #828717 #B4BB20 #D6DE3B

Accessibility & contrast

On white

3.87
#828717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#828717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828717
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828717#FFFFFF#000000##000000
##8287171.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#8B7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #828717;
/* rgb */ color: rgb(130, 135, 23);
/* oklch */ color: oklch(60.0% 0.126 112.4);
Tailwind
colors: {
  custom: {
    50: '#aaa960',
    500: '#828717',
    950: '#000000',
  },
}
SCSS
$custom: #828717;
$custom-light: #aaa960;
$custom-dark: #000000;
JSON
{
  "hex": "#828717",
  "rgb": {
    "r": 130,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 62.679,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.12588,
    "h": 112.4
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#828717
secondary
#443FBB
accent
#3AEE42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #828717

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

Preview Lab → · Contrast checker → · Palette generator →

#828717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva