#828C1C#828C1C

#828C1C 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#828C1C
RGBrgb(130, 140, 28)
HSLhsl(65, 67%, 33%)
HSVhsv(65, 80%, 55%)
CMYKcmyk(7.1%, 0%, 80%, 45.1%)
CIE-LABlab(55.67, -17.63, 53.61)
CIE-LCHlch(55.67, 56.43, 108.21°)
OKLaboklab(61.18% -0.0542 0.117)
OKLCHoklch(61.18% 0.129 114.9)
XYZxyz(18.7942, 23.5862, 4.6609)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C1C #261C8C
analogous
#8C5E1C #828C1C #4A8C1C
triadic
#828C1C #1C828C #8C1C82
tetradic
#828C1C #1C8C5E #261C8C #8C1C4A
square
#828C1C #1C8C5E #261C8C #8C1C4A
split-complementary
#828C1C #1C4A8C #5E1C8C
monochromatic
#232608 #535912 #828C1C #B1BF26 #CDDA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828C1C#FFFFFF#000000##000000
##828C1C1.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)
#968627
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c1c;
/* rgb */ color: rgb(130, 140, 28);
/* oklch */ color: oklch(61.2% 0.129 114.9);
Tailwind
colors: {
  custom: {
    50: '#aaad63',
    500: '#828c1c',
    950: '#000000',
  },
}
SCSS
$custom: #828c1c;
$custom-light: #aaad63;
$custom-dark: #000000;
JSON
{
  "hex": "#828c1c",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 65.357,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.12896,
    "h": 114.9
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#828C1C
secondary
#5248BC
accent
#3EEA4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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