#828C15#828C15

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

Color values

HEX#828C15
RGBrgb(130, 140, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 55%)
CMYKcmyk(7.1%, 0%, 85%, 45.1%)
CIE-LABlab(55.64, -17.89, 55.57)
CIE-LCHlch(55.64, 58.38, 107.84°)
OKLaboklab(61.15% -0.0554 0.1199)
OKLCHoklch(61.15% 0.132 114.8)
XYZxyz(18.7199, 23.5565, 4.2700)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C15 #1F158C
analogous
#8C5B15 #828C15 #478C15
triadic
#828C15 #15828C #8C1582
tetradic
#828C15 #158C5B #1F158C #8C1547
square
#828C15 #158C5B #1F158C #8C1547
split-complementary
#828C15 #15478C #5B158C
monochromatic
#1F2205 #51570D #828C15 #B3C11D #D3E13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828C15#FFFFFF#000000##000000
##828C151.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)
#968622
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c15;
/* rgb */ color: rgb(130, 140, 21);
/* oklch */ color: oklch(61.1% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaad60',
    500: '#828c15',
    950: '#000000',
  },
}
SCSS
$custom: #828c15;
$custom-light: #aaad60;
$custom-dark: #000000;
JSON
{
  "hex": "#828c15",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 65.042,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.13213,
    "h": 114.8
  },
  "luminance": 0.23556
}

Semantic roles & 50–950 ramp

primary
#828C15
secondary
#483DC0
accent
#37F147
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828C15

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

Preview Lab → · Contrast checker → · Palette generator →

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