#817F10#817F10

#817F10 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.121 H 108.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#817F10
RGBrgb(129, 127, 16)
HSLhsl(59, 78%, 28%)
HSVhsv(59, 88%, 51%)
CMYKcmyk(0%, 1.6%, 87.6%, 49.4%)
CIE-LABlab(51.71, -11.58, 53.47)
CIE-LCHlch(51.71, 54.71, 102.22°)
OKLaboklab(57.97% -0.0383 0.1145)
OKLCHoklch(57.97% 0.121 108.5)
XYZxyz(16.7369, 19.8839, 3.4465)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817F10 #101281
analogous
#814610 #817F10 #4A8110
triadic
#817F10 #10817F #7F1081
tetradic
#817F10 #108146 #101281 #81104A
square
#817F10 #108146 #101281 #81104A
split-complementary
#817F10 #104A81 #461081
monochromatic
#1B1B03 #4B4909 #817F10 #B7B517 #E4E127

Accessibility & contrast

On white

4.22
#817F10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#817F10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817F10
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817F10#FFFFFF#000000##000000
##817F101.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8C7D1C
Tritanopia (blue-blind)
#8B766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817f10;
/* rgb */ color: rgb(129, 127, 16);
/* oklch */ color: oklch(58.0% 0.121 108.5);
Tailwind
colors: {
  custom: {
    50: '#a9a35c',
    500: '#817f10',
    950: '#000000',
  },
}
SCSS
$custom: #817f10;
$custom-light: #a9a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#817f10",
  "rgb": {
    "r": 129,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 58.938,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.12077,
    "h": 108.5
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#817F10
secondary
#3638B7
accent
#37F433
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #817F10

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

Preview Lab → · Contrast checker → · Palette generator →

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