#828828#828828

#828828 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.117 H 112.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#828828
RGBrgb(130, 136, 40)
HSLhsl(64, 55%, 35%)
HSVhsv(64, 71%, 53%)
CMYKcmyk(4.4%, 0%, 70.6%, 46.7%)
CIE-LABlab(54.56, -14.94, 48.26)
CIE-LCHlch(54.56, 50.51, 107.20°)
OKLaboklab(60.32% -0.0456 0.1079)
OKLCHoklch(60.32% 0.117 112.9)
XYZxyz(18.3936, 22.5077, 5.3826)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828828 #2E2888
analogous
#885E28 #828828 #528828
triadic
#828828 #288288 #882882
tetradic
#828828 #28885E #2E2888 #882852
square
#828828 #28885E #2E2888 #882852
split-complementary
#828828 #285288 #5E2888
monochromatic
#28290C #55591A #828828 #AFB736 #C8CF5B

Accessibility & contrast

On white

3.82
#828828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#828828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828828
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828828#FFFFFF#000000##000000
##8288281.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928119
Deuteranopia (green-blind)
#92842F
Tritanopia (blue-blind)
#8B8075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #828828;
/* rgb */ color: rgb(130, 136, 40);
/* oklch */ color: oklch(60.3% 0.117 112.9);
Tailwind
colors: {
  custom: {
    50: '#a9aa68',
    500: '#828828',
    950: '#000000',
  },
}
SCSS
$custom: #828828;
$custom-light: #a9aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#828828",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 63.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.11713,
    "h": 112.9
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#828828
secondary
#5D58B4
accent
#4ADE53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828828

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

Preview Lab → · Contrast checker → · Palette generator →

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