#828E1D#828E1D

#828E1D is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.131 H 115.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#828E1D
RGBrgb(130, 142, 29)
HSLhsl(66, 66%, 34%)
HSVhsv(66, 80%, 56%)
CMYKcmyk(8.5%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.27, -18.63, 53.83)
CIE-LCHlch(56.27, 56.97, 109.09°)
OKLaboklab(61.66% -0.0569 0.1177)
OKLCHoklch(61.66% 0.131 115.8)
XYZxyz(19.1012, 24.1808, 4.8233)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E1D #291D8E
analogous
#8E611D #828E1D #498E1D
triadic
#828E1D #1D828E #8E1D82
tetradic
#828E1D #1D8E61 #291D8E #8E1D49
square
#828E1D #1D8E61 #291D8E #8E1D49
split-complementary
#828E1D #1D498E #611D8E
monochromatic
#252808 #535B13 #828E1D #B1C127 #CBDA4B

Accessibility & contrast

On white

3.60
#828E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#828E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E1D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E1D#FFFFFF#000000##000000
##828E1D1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e1d;
/* rgb */ color: rgb(130, 142, 29);
/* oklch */ color: oklch(61.7% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae64',
    500: '#828e1d',
    950: '#000000',
  },
}
SCSS
$custom: #828e1d;
$custom-light: #aaae64;
$custom-dark: #000000;
JSON
{
  "hex": "#828e1d",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 66.372,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.13071,
    "h": 115.8
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#828E1D
secondary
#564ABD
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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