#817331#817331

#817331 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.088 H 97.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#817331
RGBrgb(129, 115, 49)
HSLhsl(50, 45%, 35%)
HSVhsv(50, 62%, 51%)
CMYKcmyk(0%, 10.9%, 62%, 49.4%)
CIE-LABlab(48.45, -3.23, 37.70)
CIE-LCHlch(48.45, 37.84, 94.90°)
OKLaboklab(55.45% -0.0113 0.087)
OKLCHoklch(55.45% 0.088 97.4)
XYZxyz(15.7390, 17.1510, 5.3866)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817331 #313F81
analogous
#814B31 #817331 #678131
triadic
#817331 #318173 #733181
tetradic
#817331 #31814B #313F81 #813167
square
#817331 #31814B #313F81 #813167
split-complementary
#817331 #316781 #4B3181
monochromatic
#28240F #554B20 #817331 #AD9B42 #C5B567

Accessibility & contrast

On white

4.74
#817331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#817331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817331
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817331#FFFFFF#000000##FFFFFF
##8173311.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702A
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#8B6B65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817331;
/* rgb */ color: rgb(129, 115, 49);
/* oklch */ color: oklch(55.5% 0.088 97.4);
Tailwind
colors: {
  custom: {
    50: '#a89b6c',
    500: '#817331',
    950: '#000000',
  },
}
SCSS
$custom: #817331;
$custom-light: #a89b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#817331",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 49.5,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.08775,
    "h": 97.4
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#817331
secondary
#616EAD
accent
#6AD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817331

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

Preview Lab → · Contrast checker → · Palette generator →

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