#817D20#817D20

#817D20 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.111 H 106.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#817D20
RGBrgb(129, 125, 32)
HSLhsl(58, 60%, 32%)
HSVhsv(58, 75%, 51%)
CMYKcmyk(0%, 3.1%, 75.2%, 49.4%)
CIE-LABlab(51.20, -9.89, 48.06)
CIE-LCHlch(51.20, 49.07, 101.62°)
OKLaboklab(57.59% -0.0322 0.106)
OKLCHoklch(57.59% 0.111 106.9)
XYZxyz(16.6482, 19.4392, 4.2414)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D20 #202481
analogous
#814D20 #817D20 #558120
triadic
#817D20 #20817D #7D2081
tetradic
#817D20 #20814D #202481 #812055
square
#817D20 #20814D #202481 #812055
split-complementary
#817D20 #205581 #4D2081
monochromatic
#1F1E08 #504D14 #817D20 #B2AD2C #D2CC49

Accessibility & contrast

On white

4.30
#817D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#817D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D20
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D20#FFFFFF#000000##000000
##817D201.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#8B746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d20;
/* rgb */ color: rgb(129, 125, 32);
/* oklch */ color: oklch(57.6% 0.111 106.9);
Tailwind
colors: {
  custom: {
    50: '#a9a263',
    500: '#817d20',
    950: '#000000',
  },
}
SCSS
$custom: #817d20;
$custom-light: #a9a263;
$custom-dark: #000000;
JSON
{
  "hex": "#817d20",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 57.526,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.11082,
    "h": 106.9
  },
  "luminance": 0.19439
}

Semantic roles & 50–950 ramp

primary
#817D20
secondary
#494DB4
accent
#4BE344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #817D20

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

Preview Lab → · Contrast checker → · Palette generator →

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