#828A17#828A17

#828A17 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.129 H 113.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#828A17
RGBrgb(130, 138, 23)
HSLhsl(64, 71%, 32%)
HSVhsv(64, 83%, 54%)
CMYKcmyk(5.8%, 0%, 83.3%, 45.9%)
CIE-LABlab(55.06, -16.78, 54.54)
CIE-LCHlch(55.06, 57.06, 107.10°)
OKLaboklab(60.68% -0.0522 0.1181)
OKLCHoklch(60.68% 0.129 113.9)
XYZxyz(18.4497, 22.9850, 4.2751)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828A17 #1F178A
analogous
#8A5917 #828A17 #498A17
triadic
#828A17 #17828A #8A1782
tetradic
#828A17 #178A59 #1F178A #8A1749
square
#828A17 #178A59 #1F178A #8A1749
split-complementary
#828A17 #17498A #59178A
monochromatic
#1F2106 #51560E #828A17 #B3BE20 #D3DF3D

Accessibility & contrast

On white

3.75
#828A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#828A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828A17
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828A17#FFFFFF#000000##000000
##828A171.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#8B8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #828a17;
/* rgb */ color: rgb(130, 138, 23);
/* oklch */ color: oklch(60.7% 0.129 113.9);
Tailwind
colors: {
  custom: {
    50: '#aaac61',
    500: '#828a17',
    950: '#000000',
  },
}
SCSS
$custom: #828a17;
$custom-light: #aaac61;
$custom-dark: #000000;
JSON
{
  "hex": "#828a17",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 64.174,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.12911,
    "h": 113.9
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#828A17
secondary
#483FBE
accent
#3AEE46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828A17

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

Preview Lab → · Contrast checker → · Palette generator →

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