#817C2C#817C2C

#817C2C is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.101 H 105.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#817C2C
RGBrgb(129, 124, 44)
HSLhsl(56, 49%, 34%)
HSVhsv(56, 66%, 51%)
CMYKcmyk(0%, 3.9%, 65.9%, 49.4%)
CIE-LABlab(51.00, -8.64, 42.85)
CIE-LCHlch(51.00, 43.72, 101.40°)
OKLaboklab(57.46% -0.0274 0.0972)
OKLCHoklch(57.46% 0.101 105.7)
XYZxyz(16.7161, 19.2649, 5.2203)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C2C #2C3181
analogous
#81522C #817C2C #5C812C
triadic
#817C2C #2C817C #7C2C81
tetradic
#817C2C #2C8152 #2C3181 #812C5C
square
#817C2C #2C8152 #2C3181 #812C5C
split-complementary
#817C2C #2C5C81 #522C81
monochromatic
#26240D #53501C #817C2C #AFA83C #C8C25F

Accessibility & contrast

On white

4.33
#817C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#817C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C2C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C2C#FFFFFF#000000##000000
##817C2C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877722
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c2c;
/* rgb */ color: rgb(129, 124, 44);
/* oklch */ color: oklch(57.5% 0.101 105.7);
Tailwind
colors: {
  custom: {
    50: '#a8a169',
    500: '#817c2c',
    950: '#000000',
  },
}
SCSS
$custom: #817c2c;
$custom-light: #a8a169;
$custom-dark: #000000;
JSON
{
  "hex": "#817c2c",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 56.471,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.10099,
    "h": 105.7
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#817C2C
secondary
#5A5FAF
accent
#57D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#817C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva