#828B1B#828B1B

#828B1B is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.9% C 0.128 H 114.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#828B1B
RGBrgb(130, 139, 27)
HSLhsl(65, 67%, 33%)
HSVhsv(65, 81%, 55%)
CMYKcmyk(6.5%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.37, -17.15, 53.65)
CIE-LCHlch(55.37, 56.32, 107.73°)
OKLaboklab(60.94% -0.053 0.1169)
OKLCHoklch(60.94% 0.128 114.4)
XYZxyz(18.6369, 23.2906, 4.5505)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B1B #241B8B
analogous
#8B5C1B #828B1B #4A8B1B
triadic
#828B1B #1B828B #8B1B82
tetradic
#828B1B #1B8B5C #241B8B #8B1B4A
square
#828B1B #1B8B5C #241B8B #8B1B4A
split-complementary
#828B1B #1B4A8B #5C1B8B
monochromatic
#222507 #525811 #828B1B #B2BE25 #CFDB45

Accessibility & contrast

On white

3.71
#828B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#828B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B1B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B1B#FFFFFF#000000##000000
##828B1B1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#8B8277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b1b;
/* rgb */ color: rgb(130, 139, 27);
/* oklch */ color: oklch(60.9% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#aaac62',
    500: '#828b1b',
    950: '#000000',
  },
}
SCSS
$custom: #828b1b;
$custom-light: #aaac62;
$custom-dark: #000000;
JSON
{
  "hex": "#828b1b",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 64.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.12835,
    "h": 114.4
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#828B1B
secondary
#4F45BC
accent
#3DEA4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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