#828628#828628

#828628 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.8% C 0.115 H 111.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#828628
RGBrgb(130, 134, 40)
HSLhsl(63, 54%, 34%)
HSVhsv(63, 70%, 53%)
CMYKcmyk(3%, 0%, 70.1%, 47.5%)
CIE-LABlab(53.97, -13.87, 47.67)
CIE-LCHlch(53.97, 49.64, 106.22°)
OKLaboklab(59.85% -0.0426 0.1067)
OKLCHoklch(59.85% 0.115 111.8)
XYZxyz(18.1146, 21.9497, 5.2895)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828628 #2C2886
analogous
#865B28 #828628 #538628
triadic
#828628 #288286 #862882
tetradic
#828628 #28865B #2C2886 #862853
square
#828628 #28865B #2C2886 #862853
split-complementary
#828628 #285386 #5B2886
monochromatic
#27280C #54571A #828628 #B0B536 #C9CE5B

Accessibility & contrast

On white

3.90
#828628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#828628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828628
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828628#FFFFFF#000000##000000
##8286281.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908019
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#8B7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #828628;
/* rgb */ color: rgb(130, 134, 40);
/* oklch */ color: oklch(59.8% 0.115 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9a968',
    500: '#828628',
    950: '#000000',
  },
}
SCSS
$custom: #828628;
$custom-light: #a9a968;
$custom-dark: #000000;
JSON
{
  "hex": "#828628",
  "rgb": {
    "r": 130,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 62.553,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.11485,
    "h": 111.8
  },
  "luminance": 0.21949
}

Semantic roles & 50–950 ramp

primary
#828628
secondary
#5B57B3
accent
#4ADD51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828628

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

Preview Lab → · Contrast checker → · Palette generator →

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