#828E1C#828E1C

#828E1C is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.131 H 115.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#828E1C
RGBrgb(130, 142, 28)
HSLhsl(66, 67%, 33%)
HSVhsv(66, 80%, 56%)
CMYKcmyk(8.5%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.26, -18.67, 54.14)
CIE-LCHlch(56.26, 57.27, 109.03°)
OKLaboklab(61.66% -0.0571 0.1181)
OKLCHoklch(61.66% 0.131 115.8)
XYZxyz(19.0891, 24.1760, 4.7592)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E1C #281C8E
analogous
#8E611C #828E1C #498E1C
triadic
#828E1C #1C828E #8E1C82
tetradic
#828E1C #1C8E61 #281C8E #8E1C49
square
#828E1C #1C8E61 #281C8E #8E1C49
split-complementary
#828E1C #1C498E #611C8E
monochromatic
#242808 #535B12 #828E1C #B1C126 #CCDB49

Accessibility & contrast

On white

3.60
#828E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#828E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E1C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E1C#FFFFFF#000000##000000
##828E1C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e1c;
/* rgb */ color: rgb(130, 142, 28);
/* oklch */ color: oklch(61.7% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae63',
    500: '#828e1c',
    950: '#000000',
  },
}
SCSS
$custom: #828e1c;
$custom-light: #aaae63;
$custom-dark: #000000;
JSON
{
  "hex": "#828e1c",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 66.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.13121,
    "h": 115.8
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#828E1C
secondary
#5549BD
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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