#817536#817536

#817536 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.0% C 0.085 H 98.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817536
RGBrgb(129, 117, 54)
HSLhsl(50, 41%, 36%)
HSVhsv(50, 58%, 51%)
CMYKcmyk(0%, 9.3%, 58.1%, 49.4%)
CIE-LABlab(49.08, -3.96, 35.88)
CIE-LCHlch(49.08, 36.10, 96.30°)
OKLaboklab(55.97% -0.0128 0.0838)
OKLCHoklch(55.97% 0.085 98.7)
XYZxyz(16.0810, 17.6567, 6.0503)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817536 #364281
analogous
#814F36 #817536 #678136
triadic
#817536 #368175 #753681
tetradic
#817536 #36814F #364281 #813667
square
#817536 #36814F #364281 #813667
split-complementary
#817536 #366781 #4F3681
monochromatic
#2B2712 #564E24 #817536 #AC9C48 #C3B56F

Accessibility & contrast

On white

4.63
#817536 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#817536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #817536
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817536#FFFFFF#000000##FFFFFF
##8175361.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7230
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#8A6D67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #817536;
/* rgb */ color: rgb(129, 117, 54);
/* oklch */ color: oklch(56.0% 0.085 98.7);
Tailwind
colors: {
  custom: {
    50: '#a89c6f',
    500: '#817536',
    950: '#000000',
  },
}
SCSS
$custom: #817536;
$custom-light: #a89c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#817536",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 54
  },
  "hsl": {
    "h": 50.4,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.08472,
    "h": 98.7
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#817536
secondary
#6872AB
accent
#6AD157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817536

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

Preview Lab → · Contrast checker → · Palette generator →

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