#817B10#817B10

#817B10 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.117 H 106.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#817B10
RGBrgb(129, 123, 16)
HSLhsl(57, 78%, 28%)
HSVhsv(57, 88%, 51%)
CMYKcmyk(0%, 4.7%, 87.6%, 49.4%)
CIE-LABlab(50.54, -9.40, 52.50)
CIE-LCHlch(50.54, 53.34, 100.15°)
OKLaboklab(57.04% -0.0322 0.1124)
OKLCHoklch(57.04% 0.117 106)
XYZxyz(16.2305, 18.8711, 3.2777)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817B10 #101681
analogous
#814210 #817B10 #4E8110
triadic
#817B10 #10817B #7B1081
tetradic
#817B10 #108142 #101681 #81104E
square
#817B10 #108142 #101681 #81104E
split-complementary
#817B10 #104E81 #421081
monochromatic
#1B1A03 #4B4709 #817B10 #B7AF17 #E4DA27

Accessibility & contrast

On white

4.40
#817B10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#817B10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817B10
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817B10#FFFFFF#000000##000000
##817B101.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#897A1B
Tritanopia (blue-blind)
#8B7268
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817b10;
/* rgb */ color: rgb(129, 123, 16);
/* oklch */ color: oklch(57.0% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#a9a05c',
    500: '#817b10',
    950: '#000000',
  },
}
SCSS
$custom: #817b10;
$custom-light: #a9a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#817b10",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 16
  },
  "hsl": {
    "h": 56.814,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.11694,
    "h": 106
  },
  "luminance": 0.1887
}

Semantic roles & 50–950 ramp

primary
#817B10
secondary
#363DB7
accent
#3EF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817B10

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

Preview Lab → · Contrast checker → · Palette generator →

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