#828917#828917

#828917 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.128 H 113.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#828917
RGBrgb(130, 137, 23)
HSLhsl(64, 71%, 31%)
HSVhsv(64, 83%, 54%)
CMYKcmyk(5.1%, 0%, 83.2%, 46.3%)
CIE-LABlab(54.76, -16.25, 54.28)
CIE-LCHlch(54.76, 56.66, 106.67°)
OKLaboklab(60.45% -0.0508 0.1175)
OKLCHoklch(60.45% 0.128 113.4)
XYZxyz(18.3068, 22.6994, 4.2275)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828917 #1E1789
analogous
#895717 #828917 #498917
triadic
#828917 #178289 #891782
tetradic
#828917 #178957 #1E1789 #891749
square
#828917 #178957 #1E1789 #891749
split-complementary
#828917 #174989 #571789
monochromatic
#1F2005 #50550E #828917 #B4BD20 #D4DE3C

Accessibility & contrast

On white

3.79
#828917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#828917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828917
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828917#FFFFFF#000000##000000
##8289171.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#8B8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #828917;
/* rgb */ color: rgb(130, 137, 23);
/* oklch */ color: oklch(60.4% 0.128 113.4);
Tailwind
colors: {
  custom: {
    50: '#aaab61',
    500: '#828917',
    950: '#000000',
  },
}
SCSS
$custom: #828917;
$custom-light: #aaab61;
$custom-dark: #000000;
JSON
{
  "hex": "#828917",
  "rgb": {
    "r": 130,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 63.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.12803,
    "h": 113.4
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#828917
secondary
#473FBD
accent
#3AEE45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828917

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

Preview Lab → · Contrast checker → · Palette generator →

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