#828D1C#828D1C

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

Color values

HEX#828D1C
RGBrgb(130, 141, 28)
HSLhsl(66, 67%, 33%)
HSVhsv(66, 80%, 55%)
CMYKcmyk(7.8%, 0%, 80.1%, 44.7%)
CIE-LABlab(55.97, -18.15, 53.87)
CIE-LCHlch(55.97, 56.85, 108.62°)
OKLaboklab(61.42% -0.0557 0.1176)
OKLCHoklch(61.42% 0.13 115.3)
XYZxyz(18.9409, 23.8797, 4.7098)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D1C #271C8D
analogous
#8D5F1C #828D1C #498D1C
triadic
#828D1C #1C828D #8D1C82
tetradic
#828D1C #1C8D5F #271C8D #8D1C49
square
#828D1C #1C8D5F #271C8D #8D1C49
split-complementary
#828D1C #1C498D #5F1C8D
monochromatic
#242708 #535A12 #828D1C #B1C026 #CDDB49

Accessibility & contrast

On white

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

On black

5.78
#828D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D1C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D1C#FFFFFF#000000##000000
##828D1C1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #828d1c;
/* rgb */ color: rgb(130, 141, 28);
/* oklch */ color: oklch(61.4% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae63',
    500: '#828d1c',
    950: '#000000',
  },
}
SCSS
$custom: #828d1c;
$custom-light: #aaae63;
$custom-dark: #000000;
JSON
{
  "hex": "#828d1c",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 65.841,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6142,
    "c": 0.13009,
    "h": 115.3
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#828D1C
secondary
#5348BD
accent
#3EEA4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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