#828024#828024

#828024 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.111 H 108.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#828024
RGBrgb(130, 128, 36)
HSLhsl(59, 57%, 33%)
HSVhsv(59, 72%, 51%)
CMYKcmyk(0%, 1.5%, 72.3%, 49%)
CIE-LABlab(52.19, -10.86, 47.50)
CIE-LCHlch(52.19, 48.73, 102.88°)
OKLaboklab(58.41% -0.0346 0.1056)
OKLCHoklch(58.41% 0.111 108.2)
XYZxyz(17.2442, 20.3121, 4.6810)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828024 #242682
analogous
#825124 #828024 #558224
triadic
#828024 #248280 #802482
tetradic
#828024 #248251 #242682 #822455
square
#828024 #248251 #242682 #822455
split-complementary
#828024 #245582 #512482
monochromatic
#222209 #525117 #828024 #B2AF31 #CFCC51

Accessibility & contrast

On white

4.15
#828024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#828024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828024
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828024#FFFFFF#000000##000000
##8280241.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#8C776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #828024;
/* rgb */ color: rgb(130, 128, 36);
/* oklch */ color: oklch(58.4% 0.111 108.2);
Tailwind
colors: {
  custom: {
    50: '#a9a465',
    500: '#828024',
    950: '#000000',
  },
}
SCSS
$custom: #828024;
$custom-light: #a9a465;
$custom-dark: #000000;
JSON
{
  "hex": "#828024",
  "rgb": {
    "r": 130,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 58.723,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.11111,
    "h": 108.2
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#828024
secondary
#4F51B3
accent
#4BE048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828024

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

Preview Lab → · Contrast checker → · Palette generator →

#828024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva