#817954#817954

#817954 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.054 H 97.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#817954
RGBrgb(129, 121, 84)
HSLhsl(49, 21%, 42%)
HSVhsv(49, 35%, 51%)
CMYKcmyk(0%, 6.2%, 34.9%, 49.4%)
CIE-LABlab(50.67, -2.96, 21.43)
CIE-LCHlch(50.67, 21.64, 97.85°)
OKLaboklab(57.37% -0.0069 0.0534)
OKLCHoklch(57.37% 0.054 97.4)
XYZxyz(17.4911, 18.9824, 11.1284)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817954 #545C81
analogous
#816354 #817954 #738154
triadic
#817954 #548179 #795481
tetradic
#817954 #548163 #545C81 #815473
square
#817954 #548163 #545C81 #815473
split-complementary
#817954 #547381 #635481
monochromatic
#373324 #5C563C #817954 #A29970 #BAB495

Accessibility & contrast

On white

4.38
#817954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#817954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817954
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817954#FFFFFF#000000##000000
##8179541.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807751
Deuteranopia (green-blind)
#827A55
Tritanopia (blue-blind)
#88746F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817954;
/* rgb */ color: rgb(129, 121, 84);
/* oklch */ color: oklch(57.4% 0.054 97.4);
Tailwind
colors: {
  custom: {
    50: '#a69f84',
    500: '#817954',
    950: '#000000',
  },
}
SCSS
$custom: #817954;
$custom-light: #a69f84;
$custom-dark: #000000;
JSON
{
  "hex": "#817954",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 49.333,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5737,
    "c": 0.05381,
    "h": 97.4
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#817954
secondary
#898FA8
accent
#79BE6A
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #817954

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

Preview Lab → · Contrast checker → · Palette generator →

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