#817C10#817C10

#817C10 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.118 H 106.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#817C10
RGBrgb(129, 124, 16)
HSLhsl(57, 78%, 28%)
HSVhsv(57, 88%, 51%)
CMYKcmyk(0%, 3.9%, 87.6%, 49.4%)
CIE-LABlab(50.83, -9.95, 52.74)
CIE-LCHlch(50.83, 53.67, 100.68°)
OKLaboklab(57.27% -0.0338 0.1129)
OKLCHoklch(57.27% 0.118 106.6)
XYZxyz(16.3552, 19.1205, 3.3192)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C10 #101581
analogous
#814310 #817C10 #4D8110
triadic
#817C10 #10817C #7C1081
tetradic
#817C10 #108143 #101581 #81104D
square
#817C10 #108143 #101581 #81104D
split-complementary
#817C10 #104D81 #431081
monochromatic
#1B1A03 #4B4809 #817C10 #B7B017 #E4DC27

Accessibility & contrast

On white

4.35
#817C10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#817C10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C10
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C10#FFFFFF#000000##000000
##817C101.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8A7B1B
Tritanopia (blue-blind)
#8B7369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c10;
/* rgb */ color: rgb(129, 124, 16);
/* oklch */ color: oklch(57.3% 0.118 106.6);
Tailwind
colors: {
  custom: {
    50: '#a9a15c',
    500: '#817c10',
    950: '#000000',
  },
}
SCSS
$custom: #817c10;
$custom-light: #a9a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#817c10",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 16
  },
  "hsl": {
    "h": 57.345,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.11788,
    "h": 106.6
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#817C10
secondary
#363CB7
accent
#3CF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817C10

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

Preview Lab → · Contrast checker → · Palette generator →

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