#817C2D#817C2D

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

Color values

HEX#817C2D
RGBrgb(129, 124, 45)
HSLhsl(56, 48%, 34%)
HSVhsv(56, 65%, 51%)
CMYKcmyk(0%, 3.9%, 65.1%, 49.4%)
CIE-LABlab(51.00, -8.57, 42.41)
CIE-LCHlch(51.00, 43.26, 101.42°)
OKLaboklab(57.47% -0.0271 0.0964)
OKLCHoklch(57.47% 0.1 105.7)
XYZxyz(16.7352, 19.2725, 5.3205)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C2D #2D3281
analogous
#81522D #817C2D #5C812D
triadic
#817C2D #2D817C #7C2D81
tetradic
#817C2D #2D8152 #2D3281 #812D5C
square
#817C2D #2D8152 #2D3281 #812D5C
split-complementary
#817C2D #2D5C81 #522D81
monochromatic
#26250D #54501D #817C2D #AEA83D #C8C261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817C2D#FFFFFF#000000##000000
##817C2D1.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)
#867823
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c2d;
/* rgb */ color: rgb(129, 124, 45);
/* oklch */ color: oklch(57.5% 0.100 105.7);
Tailwind
colors: {
  custom: {
    50: '#a8a16a',
    500: '#817c2d',
    950: '#000000',
  },
}
SCSS
$custom: #817c2d;
$custom-light: #a8a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#817c2d",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 56.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.10015,
    "h": 105.7
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#817C2D
secondary
#5C61AE
accent
#58D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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