#817718#817718

#817718 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.110 H 103.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#817718
RGBrgb(129, 119, 24)
HSLhsl(54, 69%, 30%)
HSVhsv(54, 81%, 51%)
CMYKcmyk(0%, 7.8%, 81.4%, 49.4%)
CIE-LABlab(49.41, -6.92, 49.23)
CIE-LCHlch(49.41, 49.72, 98.00°)
OKLaboklab(56.15% -0.0247 0.1069)
OKLCHoklch(56.15% 0.11 103)
XYZxyz(15.8157, 17.9274, 3.4912)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817718 #182281
analogous
#814318 #817718 #568118
triadic
#817718 #188177 #771881
tetradic
#817718 #188143 #182281 #811856
square
#817718 #188143 #182281 #811856
split-complementary
#817718 #185681 #431881
monochromatic
#1A1805 #4D470E #817718 #B5A722 #DACB39

Accessibility & contrast

On white

4.58
#817718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#817718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817718
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817718#FFFFFF#000000##000000
##8177181.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#867720
Tritanopia (blue-blind)
#8B6E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #817718;
/* rgb */ color: rgb(129, 119, 24);
/* oklch */ color: oklch(56.1% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#a99d5e',
    500: '#817718',
    950: '#000000',
  },
}
SCSS
$custom: #817718;
$custom-light: #a99d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817718",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 54.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.10973,
    "h": 103
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#817718
secondary
#404BB5
accent
#4DEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817718

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

Preview Lab → · Contrast checker → · Palette generator →

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