#817A10#817A10

#817A10 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.116 H 105.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#817A10
RGBrgb(129, 122, 16)
HSLhsl(56, 78%, 28%)
HSVhsv(56, 88%, 51%)
CMYKcmyk(0%, 5.4%, 87.6%, 49.4%)
CIE-LABlab(50.24, -8.85, 52.26)
CIE-LCHlch(50.24, 53.00, 99.61°)
OKLaboklab(56.81% -0.0307 0.1119)
OKLCHoklch(56.81% 0.116 105.3)
XYZxyz(16.1071, 18.6243, 3.2365)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A10 #101781
analogous
#814110 #817A10 #4F8110
triadic
#817A10 #10817A #7A1081
tetradic
#817A10 #108141 #101781 #81104F
square
#817A10 #108141 #101781 #81104F
split-complementary
#817A10 #104F81 #411081
monochromatic
#1B1A03 #4B4709 #817A10 #B7AD17 #E4D927

Accessibility & contrast

On white

4.44
#817A10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#817A10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A10
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A10#FFFFFF#000000##000000
##817A101.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#88791B
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a10;
/* rgb */ color: rgb(129, 122, 16);
/* oklch */ color: oklch(56.8% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#a9a05c',
    500: '#817a10',
    950: '#000000',
  },
}
SCSS
$custom: #817a10;
$custom-light: #a9a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#817a10",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 16
  },
  "hsl": {
    "h": 56.283,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.11602,
    "h": 105.3
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#817A10
secondary
#363EB7
accent
#3FF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817A10

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

Preview Lab → · Contrast checker → · Palette generator →

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