#817217#817217

#817217 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.106 H 99.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#817217
RGBrgb(129, 114, 23)
HSLhsl(52, 70%, 30%)
HSVhsv(52, 82%, 51%)
CMYKcmyk(0%, 11.6%, 82.2%, 49.4%)
CIE-LABlab(47.96, -4.15, 48.28)
CIE-LCHlch(47.96, 48.45, 94.91°)
OKLaboklab(55% -0.017 0.1046)
OKLCHoklch(55% 0.106 99.2)
XYZxyz(15.2260, 16.7644, 3.2443)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817217 #172681
analogous
#813D17 #817217 #5B8117
triadic
#817217 #178172 #721781
tetradic
#817217 #17813D #172681 #81175B
square
#817217 #17813D #172681 #81175B
split-complementary
#817217 #175B81 #3D1781
monochromatic
#1A1705 #4D440E #817217 #B5A020 #DBC437

Accessibility & contrast

On white

4.82
#817217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#817217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817217
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817217#FFFFFF#000000##FFFFFF
##8172171.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817217;
/* rgb */ color: rgb(129, 114, 23);
/* oklch */ color: oklch(55.0% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#a99a5d',
    500: '#817217',
    950: '#000000',
  },
}
SCSS
$custom: #817217;
$custom-light: #a99a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817217",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 51.509,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55,
    "c": 0.10601,
    "h": 99.2
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#817217
secondary
#3E4FB5
accent
#54ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817217

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

Preview Lab → · Contrast checker → · Palette generator →

#817217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva