#817817#817817

#817817 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.111 H 103.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817817
RGBrgb(129, 120, 23)
HSLhsl(55, 70%, 30%)
HSVhsv(55, 82%, 51%)
CMYKcmyk(0%, 7%, 82.2%, 49.4%)
CIE-LABlab(49.69, -7.51, 49.81)
CIE-LCHlch(49.69, 50.37, 98.58°)
OKLaboklab(56.38% -0.0264 0.108)
OKLCHoklch(56.38% 0.111 103.8)
XYZxyz(15.9251, 18.1626, 3.4773)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817817 #172081
analogous
#814317 #817817 #558117
triadic
#817817 #178178 #781781
tetradic
#817817 #178143 #172081 #811755
square
#817817 #178143 #172081 #811755
split-complementary
#817817 #175581 #431781
monochromatic
#1A1805 #4D480E #817817 #B5A820 #DBCD37

Accessibility & contrast

On white

4.53
#817817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#817817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817817
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817817#FFFFFF#000000##000000
##8178171.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817817;
/* rgb */ color: rgb(129, 120, 23);
/* oklch */ color: oklch(56.4% 0.111 103.8);
Tailwind
colors: {
  custom: {
    50: '#a99e5e',
    500: '#817817',
    950: '#000000',
  },
}
SCSS
$custom: #817817;
$custom-light: #a99e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817817",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 54.906,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.11114,
    "h": 103.8
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#817817
secondary
#3E48B5
accent
#4AED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817817

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

Preview Lab → · Contrast checker → · Palette generator →

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