#828E17#828E17

#828E17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.6% C 0.134 H 115.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#828E17
RGBrgb(130, 142, 23)
HSLhsl(66, 72%, 32%)
HSVhsv(66, 84%, 56%)
CMYKcmyk(8.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.24, -18.86, 55.56)
CIE-LCHlch(56.24, 58.67, 108.75°)
OKLaboklab(61.63% -0.058 0.1203)
OKLCHoklch(61.63% 0.134 115.7)
XYZxyz(19.0341, 24.1540, 4.4699)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E17 #23178E
analogous
#8E5E17 #828E17 #478E17
triadic
#828E17 #17828E #8E1782
tetradic
#828E17 #178E5E #23178E #8E1747
square
#828E17 #178E5E #23178E #8E1747
split-complementary
#828E17 #17478E #5E178E
monochromatic
#222506 #52590E #828E17 #B2C320 #D0E03F

Accessibility & contrast

On white

3.60
#828E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#828E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E17
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E17#FFFFFF#000000##000000
##828E171.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e17;
/* rgb */ color: rgb(130, 142, 23);
/* oklch */ color: oklch(61.6% 0.134 115.7);
Tailwind
colors: {
  custom: {
    50: '#aaae61',
    500: '#828e17',
    950: '#000000',
  },
}
SCSS
$custom: #828e17;
$custom-light: #aaae61;
$custom-dark: #000000;
JSON
{
  "hex": "#828e17",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 66.05,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.13352,
    "h": 115.7
  },
  "luminance": 0.24154
}

Semantic roles & 50–950 ramp

primary
#828E17
secondary
#4D40C0
accent
#39EF4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E17

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

Preview Lab → · Contrast checker → · Palette generator →

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