#828B17#828B17

#828B17 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.9% C 0.130 H 114.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#828B17
RGBrgb(130, 139, 23)
HSLhsl(65, 72%, 32%)
HSVhsv(65, 83%, 55%)
CMYKcmyk(6.5%, 0%, 83.5%, 45.5%)
CIE-LABlab(55.35, -17.30, 54.79)
CIE-LCHlch(55.35, 57.46, 107.52°)
OKLaboklab(60.92% -0.0537 0.1186)
OKLCHoklch(60.92% 0.13 114.3)
XYZxyz(18.5938, 23.2733, 4.3232)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B17 #20178B
analogous
#8B5A17 #828B17 #488B17
triadic
#828B17 #17828B #8B1782
tetradic
#828B17 #178B5A #20178B #8B1748
square
#828B17 #178B5A #20178B #8B1748
split-complementary
#828B17 #17488B #5A178B
monochromatic
#202206 #51560E #828B17 #B3C020 #D2DF3D

Accessibility & contrast

On white

3.71
#828B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#828B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B17
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B17#FFFFFF#000000##000000
##828B171.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958623
Tritanopia (blue-blind)
#8B8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b17;
/* rgb */ color: rgb(130, 139, 23);
/* oklch */ color: oklch(60.9% 0.130 114.3);
Tailwind
colors: {
  custom: {
    50: '#aaac61',
    500: '#828b17',
    950: '#000000',
  },
}
SCSS
$custom: #828b17;
$custom-light: #aaac61;
$custom-dark: #000000;
JSON
{
  "hex": "#828b17",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 64.655,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.1302,
    "h": 114.3
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

primary
#828B17
secondary
#493FBF
accent
#39EE47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828B17

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

Preview Lab → · Contrast checker → · Palette generator →

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