#817D10#817D10

#817D10 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.119 H 107.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#817D10
RGBrgb(129, 125, 16)
HSLhsl(58, 78%, 28%)
HSVhsv(58, 88%, 51%)
CMYKcmyk(0%, 3.1%, 87.6%, 49.4%)
CIE-LABlab(51.12, -10.49, 52.98)
CIE-LCHlch(51.12, 54.01, 101.20°)
OKLaboklab(57.5% -0.0353 0.1135)
OKLCHoklch(57.5% 0.119 107.3)
XYZxyz(16.4811, 19.3724, 3.3612)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D10 #101481
analogous
#814410 #817D10 #4C8110
triadic
#817D10 #10817D #7D1081
tetradic
#817D10 #108144 #101481 #81104C
square
#817D10 #108144 #101481 #81104C
split-complementary
#817D10 #104C81 #441081
monochromatic
#1B1A03 #4B4809 #817D10 #B7B217 #E4DE27

Accessibility & contrast

On white

4.31
#817D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#817D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D10
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D10#FFFFFF#000000##000000
##817D101.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1B
Tritanopia (blue-blind)
#8B746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d10;
/* rgb */ color: rgb(129, 125, 16);
/* oklch */ color: oklch(57.5% 0.119 107.3);
Tailwind
colors: {
  custom: {
    50: '#a9a25c',
    500: '#817d10',
    950: '#000000',
  },
}
SCSS
$custom: #817d10;
$custom-light: #a9a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#817d10",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 16
  },
  "hsl": {
    "h": 57.876,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.11883,
    "h": 107.3
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#817D10
secondary
#363AB7
accent
#3AF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817D10

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

Preview Lab → · Contrast checker → · Palette generator →

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