#828229#828229

#828229 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.110 H 109.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#828229
RGBrgb(130, 130, 41)
HSLhsl(60, 52%, 34%)
HSVhsv(60, 68%, 51%)
CMYKcmyk(0%, 0%, 68.5%, 49%)
CIE-LABlab(52.81, -11.66, 46.08)
CIE-LCHlch(52.81, 47.53, 104.20°)
OKLaboklab(58.92% -0.0363 0.1035)
OKLCHoklch(58.92% 0.11 109.3)
XYZxyz(17.5894, 20.8717, 5.1995)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828229 #292982
analogous
#825529 #828229 #558229
triadic
#828229 #298282 #822982
tetradic
#828229 #298255 #292982 #822955
square
#828229 #298255 #292982 #822955
split-complementary
#828229 #295582 #552982
monochromatic
#25250C #53531A #828229 #B1B138 #CBCB5A

Accessibility & contrast

On white

4.06
#828229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#828229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828229
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828229#FFFFFF#000000##000000
##8282291.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C1C
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#8B7A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #828229;
/* rgb */ color: rgb(130, 130, 41);
/* oklch */ color: oklch(58.9% 0.110 109.3);
Tailwind
colors: {
  custom: {
    50: '#a9a668',
    500: '#828229',
    950: '#000000',
  },
}
SCSS
$custom: #828229;
$custom-light: #a9a668;
$custom-dark: #000000;
JSON
{
  "hex": "#828229",
  "rgb": {
    "r": 130,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.10966,
    "h": 109.3
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#828229
secondary
#5656B0
accent
#4CDB4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828229

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

Preview Lab → · Contrast checker → · Palette generator →

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