#817231#817231

#817231 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.087 H 96.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#817231
RGBrgb(129, 114, 49)
HSLhsl(49, 45%, 35%)
HSVhsv(49, 62%, 51%)
CMYKcmyk(0%, 11.6%, 62%, 49.4%)
CIE-LABlab(48.16, -2.66, 37.38)
CIE-LCHlch(48.16, 37.48, 94.08°)
OKLaboklab(55.23% -0.0097 0.0863)
OKLCHoklch(55.23% 0.087 96.4)
XYZxyz(15.6256, 16.9242, 5.3488)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817231 #314081
analogous
#814A31 #817231 #688131
triadic
#817231 #318172 #723181
tetradic
#817231 #31814A #314081 #813168
square
#817231 #31814A #314081 #813168
split-complementary
#817231 #316881 #4A3181
monochromatic
#28240F #554B20 #817231 #AD9942 #C5B467

Accessibility & contrast

On white

4.79
#817231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#817231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817231
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817231#FFFFFF#000000##FFFFFF
##8172311.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F2A
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#8B6A64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817231;
/* rgb */ color: rgb(129, 114, 49);
/* oklch */ color: oklch(55.2% 0.087 96.4);
Tailwind
colors: {
  custom: {
    50: '#a89a6c',
    500: '#817231',
    950: '#000000',
  },
}
SCSS
$custom: #817231;
$custom-light: #a89a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#817231",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 48.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.08687,
    "h": 96.4
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#817231
secondary
#616FAD
accent
#6BD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817231

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

Preview Lab → · Contrast checker → · Palette generator →

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