#828838#828838

#828838 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.5% C 0.104 H 113.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#828838
RGBrgb(130, 136, 56)
HSLhsl(65, 42%, 38%)
HSVhsv(65, 59%, 53%)
CMYKcmyk(4.4%, 0%, 58.8%, 46.7%)
CIE-LABlab(54.70, -13.81, 41.30)
CIE-LCHlch(54.70, 43.55, 108.48°)
OKLaboklab(60.47% -0.0407 0.0956)
OKLCHoklch(60.47% 0.104 113.1)
XYZxyz(18.7243, 22.6400, 7.1242)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828838 #3E3888
analogous
#886638 #828838 #5A8838
triadic
#828838 #388288 #883882
tetradic
#828838 #388866 #3E3888 #88385A
square
#828838 #388866 #3E3888 #88385A
split-complementary
#828838 #385A88 #663888
monochromatic
#2F3114 #595D26 #828838 #ABB34A #C0C674

Accessibility & contrast

On white

3.80
#828838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#828838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828838
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828838#FFFFFF#000000##000000
##8288381.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#8A8077
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #828838;
/* rgb */ color: rgb(130, 136, 56);
/* oklch */ color: oklch(60.5% 0.104 113.1);
Tailwind
colors: {
  custom: {
    50: '#a8aa72',
    500: '#828838',
    950: '#000000',
  },
}
SCSS
$custom: #828838;
$custom-light: #a8aa72;
$custom-dark: #000000;
JSON
{
  "hex": "#828838",
  "rgb": {
    "r": 130,
    "g": 136,
    "b": 56
  },
  "hsl": {
    "h": 64.5,
    "s": 41.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.10391,
    "h": 113.1
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#828838
secondary
#726DAF
accent
#56D160
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #828838

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

Preview Lab → · Contrast checker → · Palette generator →

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