#817E10#817E10

#817E10 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.120 H 107.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#817E10
RGBrgb(129, 126, 16)
HSLhsl(58, 78%, 28%)
HSVhsv(58, 88%, 51%)
CMYKcmyk(0%, 2.3%, 87.6%, 49.4%)
CIE-LABlab(51.41, -11.04, 53.23)
CIE-LCHlch(51.41, 54.36, 101.72°)
OKLaboklab(57.74% -0.0368 0.114)
OKLCHoklch(57.74% 0.12 107.9)
XYZxyz(16.6083, 19.6268, 3.4036)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E10 #101381
analogous
#814510 #817E10 #4B8110
triadic
#817E10 #10817E #7E1081
tetradic
#817E10 #108145 #101381 #81104B
square
#817E10 #108145 #101381 #81104B
split-complementary
#817E10 #104B81 #451081
monochromatic
#1B1B03 #4B4909 #817E10 #B7B317 #E4DF27

Accessibility & contrast

On white

4.26
#817E10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#817E10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817E10
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817E10#FFFFFF#000000##000000
##817E101.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8B7C1C
Tritanopia (blue-blind)
#8B756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817e10;
/* rgb */ color: rgb(129, 126, 16);
/* oklch */ color: oklch(57.7% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#a9a35c',
    500: '#817e10',
    950: '#000000',
  },
}
SCSS
$custom: #817e10;
$custom-light: #a9a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#817e10",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 58.407,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.11979,
    "h": 107.9
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#817E10
secondary
#3639B7
accent
#38F433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817E10

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

Preview Lab → · Contrast checker → · Palette generator →

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