#828B31#828B31

#828B31 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.114 H 114.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#828B31
RGBrgb(130, 139, 49)
HSLhsl(66, 48%, 37%)
HSVhsv(66, 65%, 55%)
CMYKcmyk(6.5%, 0%, 64.7%, 45.5%)
CIE-LABlab(55.52, -15.94, 45.43)
CIE-LCHlch(55.52, 48.14, 109.33°)
OKLaboklab(61.1% -0.0475 0.1034)
OKLCHoklch(61.1% 0.114 114.7)
XYZxyz(18.9934, 23.4331, 6.4276)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B31 #3A318B
analogous
#8B6731 #828B31 #558B31
triadic
#828B31 #31828B #8B3182
tetradic
#828B31 #318B67 #3A318B #8B3155
square
#828B31 #318B67 #3A318B #8B3155
split-complementary
#828B31 #31558B #67318B
monochromatic
#2D3111 #585E21 #828B31 #ACB841 #C1CB6B

Accessibility & contrast

On white

3.69
#828B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#828B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B31
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B31#FFFFFF#000000##000000
##828B311.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958426
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#8A8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b31;
/* rgb */ color: rgb(130, 139, 49);
/* oklch */ color: oklch(61.1% 0.114 114.7);
Tailwind
colors: {
  custom: {
    50: '#a9ac6e',
    500: '#828b31',
    950: '#000000',
  },
}
SCSS
$custom: #828b31;
$custom-light: #a9ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#828b31",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 66,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.11377,
    "h": 114.7
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#828B31
secondary
#6D65B2
accent
#50D75E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828B31

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

Preview Lab → · Contrast checker → · Palette generator →

#828B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva