#828331#828331

#828331 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.104 H 109.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#828331
RGBrgb(130, 131, 49)
HSLhsl(61, 46%, 35%)
HSVhsv(61, 63%, 51%)
CMYKcmyk(0.8%, 0%, 62.6%, 48.6%)
CIE-LABlab(53.17, -11.66, 42.91)
CIE-LCHlch(53.17, 44.47, 105.20°)
OKLaboklab(59.23% -0.0354 0.0981)
OKLCHoklch(59.23% 0.104 109.9)
XYZxyz(17.8771, 21.2006, 6.0555)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828331 #323183
analogous
#835B31 #828331 #598331
triadic
#828331 #318283 #833182
tetradic
#828331 #31835B #323183 #833159
square
#828331 #31835B #323183 #833159
split-complementary
#828331 #315983 #5B3183
monochromatic
#2A2A10 #565620 #828331 #AEB042 #C5C668

Accessibility & contrast

On white

4.01
#828331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#828331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828331
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828331#FFFFFF#000000##000000
##8283311.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E27
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#8B7B72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #828331;
/* rgb */ color: rgb(130, 131, 49);
/* oklch */ color: oklch(59.2% 0.104 109.9);
Tailwind
colors: {
  custom: {
    50: '#a9a66d',
    500: '#828331',
    950: '#000000',
  },
}
SCSS
$custom: #828331;
$custom-light: #a9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#828331",
  "rgb": {
    "r": 130,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 60.732,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.10428,
    "h": 109.9
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#828331
secondary
#6362AE
accent
#53D554
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #828331

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

Preview Lab → · Contrast checker → · Palette generator →

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