#817C24#817C24

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

Color values

HEX#817C24
RGBrgb(129, 124, 36)
HSLhsl(57, 56%, 32%)
HSVhsv(57, 72%, 51%)
CMYKcmyk(0%, 3.9%, 72.1%, 49.4%)
CIE-LABlab(50.93, -9.13, 46.24)
CIE-LCHlch(50.93, 47.13, 101.17°)
OKLaboklab(57.39% -0.0297 0.1029)
OKLCHoklch(57.39% 0.107 106.1)
XYZxyz(16.5800, 19.2104, 4.5033)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C24 #242981
analogous
#814D24 #817C24 #588124
triadic
#817C24 #24817C #7C2481
tetradic
#817C24 #24814D #242981 #812458
square
#817C24 #24814D #242981 #812458
split-complementary
#817C24 #245881 #4D2481
monochromatic
#212009 #514E17 #817C24 #B1AA31 #CEC851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817C24#FFFFFF#000000##000000
##817C241.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)
#877716
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#8B736B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c24;
/* rgb */ color: rgb(129, 124, 36);
/* oklch */ color: oklch(57.4% 0.107 106.1);
Tailwind
colors: {
  custom: {
    50: '#a9a165',
    500: '#817c24',
    950: '#000000',
  },
}
SCSS
$custom: #817c24;
$custom-light: #a9a165;
$custom-dark: #000000;
JSON
{
  "hex": "#817c24",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 56.774,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.10714,
    "h": 106.1
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#817C24
secondary
#4E54B2
accent
#50E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817C24

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

Preview Lab → · Contrast checker → · Palette generator →

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