#828E1A#828E1A

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

Color values

HEX#828E1A
RGBrgb(130, 142, 26)
HSLhsl(66, 69%, 33%)
HSVhsv(66, 82%, 56%)
CMYKcmyk(8.5%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.25, -18.75, 54.73)
CIE-LCHlch(56.25, 57.85, 108.91°)
OKLaboklab(61.65% -0.0575 0.119)
OKLCHoklch(61.65% 0.132 115.8)
XYZxyz(19.0659, 24.1667, 4.6374)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E1A #261A8E
analogous
#8E601A #828E1A #488E1A
triadic
#828E1A #1A828E #8E1A82
tetradic
#828E1A #1A8E60 #261A8E #8E1A48
square
#828E1A #1A8E60 #261A8E #8E1A48
split-complementary
#828E1A #1A488E #601A8E
monochromatic
#232707 #535A11 #828E1A #B1C223 #CDDD45

Accessibility & contrast

On white

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

On black

5.83
#828E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E1A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E1A#FFFFFF#000000##000000
##828E1A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #828e1a;
/* rgb */ color: rgb(130, 142, 26);
/* oklch */ color: oklch(61.6% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae62',
    500: '#828e1a',
    950: '#000000',
  },
}
SCSS
$custom: #828e1a;
$custom-light: #aaae62;
$custom-dark: #000000;
JSON
{
  "hex": "#828e1a",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 66.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.13218,
    "h": 115.8
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#828E1A
secondary
#5245BE
accent
#3CEC4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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