#828D1F#828D1F

#828D1F 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#828D1F
RGBrgb(130, 141, 31)
HSLhsl(66, 64%, 34%)
HSVhsv(66, 78%, 55%)
CMYKcmyk(7.8%, 0%, 78%, 44.7%)
CIE-LABlab(55.98, -18.02, 52.93)
CIE-LCHlch(55.98, 55.91, 108.81°)
OKLaboklab(61.44% -0.055 0.1161)
OKLCHoklch(61.44% 0.129 115.4)
XYZxyz(18.9787, 23.8948, 4.9084)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D1F #2A1F8D
analogous
#8D611F #828D1F #4B8D1F
triadic
#828D1F #1F828D #8D1F82
tetradic
#828D1F #1F8D61 #2A1F8D #8D1F4B
square
#828D1F #1F8D61 #2A1F8D #8D1F4B
split-complementary
#828D1F #1F4B8D #611F8D
monochromatic
#252909 #545B14 #828D1F #B0BF2A #CAD84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828D1F#FFFFFF#000000##000000
##828D1F1.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)
#978502
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d1f;
/* rgb */ color: rgb(130, 141, 31);
/* oklch */ color: oklch(61.4% 0.129 115.4);
Tailwind
colors: {
  custom: {
    50: '#aaae64',
    500: '#828d1f',
    950: '#000000',
  },
}
SCSS
$custom: #828d1f;
$custom-light: #aaae64;
$custom-dark: #000000;
JSON
{
  "hex": "#828d1f",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 66,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.12851,
    "h": 115.4
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#828D1F
secondary
#584DBB
accent
#41E751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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