#828A1B#828A1B

#828A1B is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.127 H 113.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#828A1B
RGBrgb(130, 138, 27)
HSLhsl(64, 67%, 32%)
HSVhsv(64, 80%, 54%)
CMYKcmyk(5.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(55.07, -16.63, 53.38)
CIE-LCHlch(55.07, 55.91, 107.30°)
OKLaboklab(60.7% -0.0515 0.1163)
OKLCHoklch(60.7% 0.127 113.9)
XYZxyz(18.4928, 23.0023, 4.5024)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828A1B #231B8A
analogous
#8A5A1B #828A1B #4B8A1B
triadic
#828A1B #1B828A #8A1B82
tetradic
#828A1B #1B8A5A #231B8A #8A1B4B
square
#828A1B #1B8A5A #231B8A #8A1B4B
split-complementary
#828A1B #1B4B8A #5A1B8A
monochromatic
#222407 #525711 #828A1B #B2BD25 #D0DB45

Accessibility & contrast

On white

3.75
#828A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#828A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828A1B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828A1B#FFFFFF#000000##000000
##828A1B1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#8B8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #828a1b;
/* rgb */ color: rgb(130, 138, 27);
/* oklch */ color: oklch(60.7% 0.127 113.9);
Tailwind
colors: {
  custom: {
    50: '#aaac62',
    500: '#828a1b',
    950: '#000000',
  },
}
SCSS
$custom: #828a1b;
$custom-light: #aaac62;
$custom-dark: #000000;
JSON
{
  "hex": "#828a1b",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 64.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.12724,
    "h": 113.9
  },
  "luminance": 0.23002
}

Semantic roles & 50–950 ramp

primary
#828A1B
secondary
#4D45BC
accent
#3EEA4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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