#817C29#817C29

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

Color values

HEX#817C29
RGBrgb(129, 124, 41)
HSLhsl(57, 52%, 33%)
HSVhsv(57, 68%, 51%)
CMYKcmyk(0%, 3.9%, 68.2%, 49.4%)
CIE-LABlab(50.97, -8.83, 44.16)
CIE-LCHlch(50.97, 45.04, 101.31°)
OKLaboklab(57.43% -0.0283 0.0995)
OKLCHoklch(57.43% 0.103 105.9)
XYZxyz(16.6618, 19.2431, 4.9340)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C29 #292E81
analogous
#815029 #817C29 #5A8129
triadic
#817C29 #29817C #7C2981
tetradic
#817C29 #298150 #292E81 #81295A
square
#817C29 #298150 #292E81 #81295A
split-complementary
#817C29 #295A81 #502981
monochromatic
#24230B #534F1A #817C29 #AFA938 #CBC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817C29#FFFFFF#000000##000000
##817C291.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)
#87771E
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#8B746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c29;
/* rgb */ color: rgb(129, 124, 41);
/* oklch */ color: oklch(57.4% 0.103 105.9);
Tailwind
colors: {
  custom: {
    50: '#a8a168',
    500: '#817c29',
    950: '#000000',
  },
}
SCSS
$custom: #817c29;
$custom-light: #a8a168;
$custom-dark: #000000;
JSON
{
  "hex": "#817c29",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 56.591,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.10341,
    "h": 105.9
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#817C29
secondary
#565BB0
accent
#55DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817C29

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

Preview Lab → · Contrast checker → · Palette generator →

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