#828818#828818

#828818 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.126 H 112.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#828818
RGBrgb(130, 136, 24)
HSLhsl(63, 70%, 31%)
HSVhsv(63, 82%, 53%)
CMYKcmyk(4.4%, 0%, 82.4%, 46.7%)
CIE-LABlab(54.47, -15.69, 53.74)
CIE-LCHlch(54.47, 55.99, 106.27°)
OKLaboklab(60.21% -0.0492 0.1166)
OKLCHoklch(60.21% 0.126 112.9)
XYZxyz(18.1756, 22.4205, 4.2341)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828818 #1E1888
analogous
#885618 #828818 #4A8818
triadic
#828818 #188288 #881882
tetradic
#828818 #188856 #1E1888 #88184A
square
#828818 #188856 #1E1888 #88184A
split-complementary
#828818 #184A88 #561888
monochromatic
#1F2006 #50540F #828818 #B4BC21 #D4DD3E

Accessibility & contrast

On white

3.83
#828818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#828818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828818
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828818#FFFFFF#000000##000000
##8288181.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#8B7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #828818;
/* rgb */ color: rgb(130, 136, 24);
/* oklch */ color: oklch(60.2% 0.126 112.9);
Tailwind
colors: {
  custom: {
    50: '#aaaa61',
    500: '#828818',
    950: '#000000',
  },
}
SCSS
$custom: #828818;
$custom-light: #aaaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#828818",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 63.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.12649,
    "h": 112.9
  },
  "luminance": 0.2242
}

Semantic roles & 50–950 ramp

primary
#828818
secondary
#4740BC
accent
#3BED45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828818

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

Preview Lab → · Contrast checker → · Palette generator →

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