#828C17#828C17

#828C17 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.131 H 114.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#828C17
RGBrgb(130, 140, 23)
HSLhsl(65, 72%, 32%)
HSVhsv(65, 84%, 55%)
CMYKcmyk(7.1%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.65, -17.82, 55.05)
CIE-LCHlch(55.65, 57.86, 107.94°)
OKLaboklab(61.16% -0.0551 0.1192)
OKLCHoklch(61.16% 0.131 114.8)
XYZxyz(18.7392, 23.5642, 4.3716)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C17 #21178C
analogous
#8C5C17 #828C17 #488C17
triadic
#828C17 #17828C #8C1782
tetradic
#828C17 #178C5C #21178C #8C1748
square
#828C17 #178C5C #21178C #8C1748
split-complementary
#828C17 #17488C #5C178C
monochromatic
#202306 #51570E #828C17 #B3C120 #D2DF3E

Accessibility & contrast

On white

3.68
#828C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#828C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C17#FFFFFF#000000##000000
##828C171.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c17;
/* rgb */ color: rgb(130, 140, 23);
/* oklch */ color: oklch(61.2% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaad61',
    500: '#828c17',
    950: '#000000',
  },
}
SCSS
$custom: #828c17;
$custom-light: #aaad61;
$custom-dark: #000000;
JSON
{
  "hex": "#828c17",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 65.128,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.13131,
    "h": 114.8
  },
  "luminance": 0.23564
}

Semantic roles & 50–950 ramp

primary
#828C17
secondary
#4A3FBF
accent
#39EF49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828C17

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

Preview Lab → · Contrast checker → · Palette generator →

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