#828D1E#828D1E

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

Color values

HEX#828D1E
RGBrgb(130, 141, 30)
HSLhsl(66, 65%, 34%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(7.8%, 0%, 78.7%, 44.7%)
CIE-LABlab(55.98, -18.07, 53.25)
CIE-LCHlch(55.98, 56.23, 108.74°)
OKLaboklab(61.43% -0.0553 0.1166)
OKLCHoklch(61.43% 0.129 115.4)
XYZxyz(18.9657, 23.8896, 4.8401)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D1E #291E8D
analogous
#8D601E #828D1E #4A8D1E
triadic
#828D1E #1E828D #8D1E82
tetradic
#828D1E #1E8D60 #291E8D #8D1E4A
square
#828D1E #1E8D60 #291E8D #8D1E4A
split-complementary
#828D1E #1E4A8D #601E8D
monochromatic
#252809 #535B13 #828D1E #B1BF29 #CBD94C

Accessibility & contrast

On white

3.63
#828D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##828D1E#FFFFFF#000000##000000
##828D1E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #828d1e;
/* rgb */ color: rgb(130, 141, 30);
/* oklch */ color: oklch(61.4% 0.129 115.4);
Tailwind
colors: {
  custom: {
    50: '#aaae64',
    500: '#828d1e',
    950: '#000000',
  },
}
SCSS
$custom: #828d1e;
$custom-light: #aaae64;
$custom-dark: #000000;
JSON
{
  "hex": "#828d1e",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 65.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.12905,
    "h": 115.4
  },
  "luminance": 0.23889
}

Semantic roles & 50–950 ramp

primary
#828D1E
secondary
#564BBC
accent
#40E851
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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