#817841#817841

#817841 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.8% C 0.076 H 100.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#817841
RGBrgb(129, 120, 65)
HSLhsl(52, 33%, 38%)
HSVhsv(52, 50%, 51%)
CMYKcmyk(0%, 7%, 49.6%, 49.4%)
CIE-LABlab(50.08, -4.63, 31.27)
CIE-LCHlch(50.08, 31.61, 98.42°)
OKLaboklab(56.8% -0.0134 0.0748)
OKLCHoklch(56.8% 0.076 100.2)
XYZxyz(16.7243, 18.4823, 7.6865)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817841 #414A81
analogous
#815841 #817841 #6A8141
triadic
#817841 #418178 #784181
tetradic
#817841 #418158 #414A81 #81416A
square
#817841 #418158 #414A81 #81416A
split-complementary
#817841 #416A81 #584181
monochromatic
#302C18 #58522C #817841 #AA9E56 #BEB57E

Accessibility & contrast

On white

4.47
#817841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#817841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817841
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817841#FFFFFF#000000##000000
##8178411.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81753C
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#89716B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #817841;
/* rgb */ color: rgb(129, 120, 65);
/* oklch */ color: oklch(56.8% 0.076 100.2);
Tailwind
colors: {
  custom: {
    50: '#a79e77',
    500: '#817841',
    950: '#000000',
  },
}
SCSS
$custom: #817841;
$custom-light: #a79e77;
$custom-dark: #000000;
JSON
{
  "hex": "#817841",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 51.563,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.07596,
    "h": 100.2
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#817841
secondary
#757CA9
accent
#6EC95F
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #817841

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

Preview Lab → · Contrast checker → · Palette generator →

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