#828C1B#828C1B

#828C1B is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.129 H 114.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#828C1B
RGBrgb(130, 140, 27)
HSLhsl(65, 68%, 33%)
HSVhsv(65, 81%, 55%)
CMYKcmyk(7.1%, 0%, 80.7%, 45.1%)
CIE-LABlab(55.67, -17.67, 53.91)
CIE-LCHlch(55.67, 56.73, 108.15°)
OKLaboklab(61.18% -0.0544 0.1175)
OKLCHoklch(61.18% 0.129 114.9)
XYZxyz(18.7824, 23.5815, 4.5989)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C1B #251B8C
analogous
#8C5E1B #828C1B #498C1B
triadic
#828C1B #1B828C #8C1B82
tetradic
#828C1B #1B8C5E #251B8C #8C1B49
square
#828C1B #1B8C5E #251B8C #8C1B49
split-complementary
#828C1B #1B498C #5E1B8C
monochromatic
#232507 #525911 #828C1B #B2BF25 #CEDB46

Accessibility & contrast

On white

3.67
#828C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#828C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C1B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C1B#FFFFFF#000000##000000
##828C1B1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c1b;
/* rgb */ color: rgb(130, 140, 27);
/* oklch */ color: oklch(61.2% 0.129 114.9);
Tailwind
colors: {
  custom: {
    50: '#aaad63',
    500: '#828c1b',
    950: '#000000',
  },
}
SCSS
$custom: #828c1b;
$custom-light: #aaad63;
$custom-dark: #000000;
JSON
{
  "hex": "#828c1b",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 65.31,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.12946,
    "h": 114.9
  },
  "luminance": 0.23581
}

Semantic roles & 50–950 ramp

primary
#828C1B
secondary
#5046BD
accent
#3DEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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