#828D15#828D15

#828D15 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.133 H 115.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#828D15
RGBrgb(130, 141, 21)
HSLhsl(66, 74%, 32%)
HSVhsv(66, 85%, 55%)
CMYKcmyk(7.8%, 0%, 85.1%, 44.7%)
CIE-LABlab(55.94, -18.41, 55.82)
CIE-LCHlch(55.94, 58.78, 108.25°)
OKLaboklab(61.39% -0.0569 0.1205)
OKLCHoklch(61.39% 0.133 115.3)
XYZxyz(18.8667, 23.8501, 4.3190)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D15 #20158D
analogous
#8D5C15 #828D15 #468D15
triadic
#828D15 #15828D #8D1582
tetradic
#828D15 #158D5C #20158D #8D1546
square
#828D15 #158D5C #20158D #8D1546
split-complementary
#828D15 #15468D #5C158D
monochromatic
#202205 #51580D #828D15 #B3C21D #D2E23B

Accessibility & contrast

On white

3.64
#828D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#828D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D15
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D15#FFFFFF#000000##000000
##828D151.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d15;
/* rgb */ color: rgb(130, 141, 21);
/* oklch */ color: oklch(61.4% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae60',
    500: '#828d15',
    950: '#000000',
  },
}
SCSS
$custom: #828d15;
$custom-light: #aaae60;
$custom-dark: #000000;
JSON
{
  "hex": "#828d15",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 65.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.13324,
    "h": 115.3
  },
  "luminance": 0.2385
}

Semantic roles & 50–950 ramp

primary
#828D15
secondary
#493DC1
accent
#37F148
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828D15

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

Preview Lab → · Contrast checker → · Palette generator →

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