#828F17#828F17

#828F17 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.135 H 116.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#828F17
RGBrgb(130, 143, 23)
HSLhsl(67, 72%, 33%)
HSVhsv(67, 84%, 56%)
CMYKcmyk(9.1%, 0%, 83.9%, 43.9%)
CIE-LABlab(56.54, -19.37, 55.82)
CIE-LCHlch(56.54, 59.08, 109.14°)
OKLaboklab(61.87% -0.0594 0.1208)
OKLCHoklch(61.87% 0.135 116.2)
XYZxyz(19.1836, 24.4529, 4.5198)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F17 #24178F
analogous
#8F6017 #828F17 #468F17
triadic
#828F17 #17828F #8F1782
tetradic
#828F17 #178F60 #24178F #8F1746
square
#828F17 #178F60 #24178F #8F1746
split-complementary
#828F17 #17468F #60178F
monochromatic
#222606 #525A0F #828F17 #B2C41F #CFE040

Accessibility & contrast

On white

3.57
#828F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#828F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F17
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F17#FFFFFF#000000##000000
##828F171.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998824
Tritanopia (blue-blind)
#8B867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f17;
/* rgb */ color: rgb(130, 143, 23);
/* oklch */ color: oklch(61.9% 0.135 116.2);
Tailwind
colors: {
  custom: {
    50: '#aaaf61',
    500: '#828f17',
    950: '#000000',
  },
}
SCSS
$custom: #828f17;
$custom-light: #aaaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#828f17",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 66.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.13464,
    "h": 116.2
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#828F17
secondary
#4F41C1
accent
#39EF4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828F17

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

Preview Lab → · Contrast checker → · Palette generator →

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