#817010#817010

#817010 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.108 H 98.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#817010
RGBrgb(129, 112, 16)
HSLhsl(51, 78%, 28%)
HSVhsv(51, 88%, 51%)
CMYKcmyk(0%, 13.2%, 87.6%, 49.4%)
CIE-LABlab(47.36, -3.24, 49.87)
CIE-LCHlch(47.36, 49.97, 93.72°)
OKLaboklab(54.51% -0.015 0.1066)
OKLCHoklch(54.51% 0.108 98)
XYZxyz(14.9418, 16.2937, 2.8481)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817010 #102181
analogous
#813710 #817010 #598110
triadic
#817010 #108170 #701081
tetradic
#817010 #108137 #102181 #811059
square
#817010 #108137 #102181 #811059
split-complementary
#817010 #105981 #371081
monochromatic
#1B1803 #4B4109 #817010 #B79F17 #E4C827

Accessibility & contrast

On white

4.93
#817010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#817010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817010
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817010#FFFFFF#000000##FFFFFF
##8170101.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#817318
Tritanopia (blue-blind)
#8C675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817010;
/* rgb */ color: rgb(129, 112, 16);
/* oklch */ color: oklch(54.5% 0.108 98.0);
Tailwind
colors: {
  custom: {
    50: '#aa985a',
    500: '#817010',
    950: '#000000',
  },
}
SCSS
$custom: #817010;
$custom-light: #aa985a;
$custom-dark: #000000;
JSON
{
  "hex": "#817010",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 50.973,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.10767,
    "h": 98
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#817010
secondary
#3649B7
accent
#50F433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #817010

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

Preview Lab → · Contrast checker → · Palette generator →

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