#828F1A#828F1A

#828F1A is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.133 H 116.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#828F1A
RGBrgb(130, 143, 26)
HSLhsl(67, 69%, 33%)
HSVhsv(67, 82%, 56%)
CMYKcmyk(9.1%, 0%, 81.8%, 43.9%)
CIE-LABlab(56.55, -19.27, 54.99)
CIE-LCHlch(56.55, 58.27, 109.31°)
OKLaboklab(61.89% -0.0589 0.1196)
OKLCHoklch(61.89% 0.133 116.2)
XYZxyz(19.2154, 24.4656, 4.6872)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F1A #271A8F
analogous
#8F611A #828F1A #478F1A
triadic
#828F1A #1A828F #8F1A82
tetradic
#828F1A #1A8F61 #271A8F #8F1A47
square
#828F1A #1A8F61 #271A8F #8F1A47
split-complementary
#828F1A #1A478F #611A8F
monochromatic
#242707 #535B11 #828F1A #B1C323 #CDDD46

Accessibility & contrast

On white

3.56
#828F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#828F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F1A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F1A#FFFFFF#000000##000000
##828F1A1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#8B867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f1a;
/* rgb */ color: rgb(130, 143, 26);
/* oklch */ color: oklch(61.9% 0.133 116.2);
Tailwind
colors: {
  custom: {
    50: '#aaaf63',
    500: '#828f1a',
    950: '#000000',
  },
}
SCSS
$custom: #828f1a;
$custom-light: #aaaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#828f1a",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 66.667,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.13331,
    "h": 116.2
  },
  "luminance": 0.24465
}

Semantic roles & 50–950 ramp

primary
#828F1A
secondary
#5346BF
accent
#3CEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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