#828E1F#828E1F

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

Color values

HEX#828E1F
RGBrgb(130, 142, 31)
HSLhsl(66, 64%, 34%)
HSVhsv(66, 78%, 56%)
CMYKcmyk(8.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(56.28, -18.54, 53.20)
CIE-LCHlch(56.28, 56.34, 109.22°)
OKLaboklab(61.68% -0.0565 0.1167)
OKLCHoklch(61.68% 0.13 115.8)
XYZxyz(19.1268, 24.1911, 4.9578)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E1F #2B1F8E
analogous
#8E631F #828E1F #4B8E1F
triadic
#828E1F #1F828E #8E1F82
tetradic
#828E1F #1F8E63 #2B1F8E #8E1F4B
square
#828E1F #1F8E63 #2B1F8E #8E1F4B
split-complementary
#828E1F #1F4B8E #631F8E
monochromatic
#262A09 #545C14 #828E1F #B0C02A #CAD94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E1F#FFFFFF#000000##000000
##828E1F1.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)
#988602
Deuteranopia (green-blind)
#978829
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e1f;
/* rgb */ color: rgb(130, 142, 31);
/* oklch */ color: oklch(61.7% 0.130 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae65',
    500: '#828e1f',
    950: '#000000',
  },
}
SCSS
$custom: #828e1f;
$custom-light: #aaae65;
$custom-dark: #000000;
JSON
{
  "hex": "#828e1f",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 66.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.12965,
    "h": 115.8
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#828E1F
secondary
#594DBB
accent
#41E753
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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