#828C1F#828C1F

#828C1F is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.127 H 114.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#828C1F
RGBrgb(130, 140, 31)
HSLhsl(66, 64%, 34%)
HSVhsv(66, 78%, 55%)
CMYKcmyk(7.1%, 0%, 77.9%, 45.1%)
CIE-LABlab(55.69, -17.50, 52.65)
CIE-LCHlch(55.69, 55.49, 108.39°)
OKLaboklab(61.2% -0.0536 0.1155)
OKLCHoklch(61.2% 0.127 114.9)
XYZxyz(18.8319, 23.6013, 4.8595)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C1F #291F8C
analogous
#8C5F1F #828C1F #4B8C1F
triadic
#828C1F #1F828C #8C1F82
tetradic
#828C1F #1F8C5F #291F8C #8C1F4B
square
#828C1F #1F8C5F #291F8C #8C1F4B
split-complementary
#828C1F #1F4B8C #5F1F8C
monochromatic
#252809 #535A14 #828C1F #B1BE2A #CBD84E

Accessibility & contrast

On white

3.67
#828C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#828C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C1F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C1F#FFFFFF#000000##000000
##828C1F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#8B8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c1f;
/* rgb */ color: rgb(130, 140, 31);
/* oklch */ color: oklch(61.2% 0.127 114.9);
Tailwind
colors: {
  custom: {
    50: '#aaad64',
    500: '#828c1f',
    950: '#000000',
  },
}
SCSS
$custom: #828c1f;
$custom-light: #aaad64;
$custom-dark: #000000;
JSON
{
  "hex": "#828c1f",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 65.505,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.12737,
    "h": 114.9
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#828C1F
secondary
#564CBB
accent
#41E750
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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