#817C20#817C20

#817C20 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.110 H 106.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#817C20
RGBrgb(129, 124, 32)
HSLhsl(57, 60%, 32%)
HSVhsv(57, 75%, 51%)
CMYKcmyk(0%, 3.9%, 75.2%, 49.4%)
CIE-LABlab(50.91, -9.34, 47.78)
CIE-LCHlch(50.91, 48.69, 101.06°)
OKLaboklab(57.36% -0.0307 0.1054)
OKLCHoklch(57.36% 0.11 106.2)
XYZxyz(16.5223, 19.1873, 4.1994)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C20 #202581
analogous
#814C20 #817C20 #568120
triadic
#817C20 #20817C #7C2081
tetradic
#817C20 #20814C #202581 #812056
square
#817C20 #20814C #202581 #812056
split-complementary
#817C20 #205681 #4C2081
monochromatic
#1F1E08 #504D14 #817C20 #B2AB2C #D2CB49

Accessibility & contrast

On white

4.34
#817C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#817C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C20
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C20#FFFFFF#000000##000000
##817C201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c20;
/* rgb */ color: rgb(129, 124, 32);
/* oklch */ color: oklch(57.4% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#a9a163',
    500: '#817c20',
    950: '#000000',
  },
}
SCSS
$custom: #817c20;
$custom-light: #a9a163;
$custom-dark: #000000;
JSON
{
  "hex": "#817c20",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 56.907,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.10982,
    "h": 106.2
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#817C20
secondary
#494FB4
accent
#4DE344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817C20

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

Preview Lab → · Contrast checker → · Palette generator →

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