#818310#818310

#818310 is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.125 H 110.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#818310
RGBrgb(129, 131, 16)
HSLhsl(61, 78%, 29%)
HSVhsv(61, 88%, 51%)
CMYKcmyk(1.5%, 0%, 87.8%, 48.6%)
CIE-LABlab(52.88, -13.74, 54.44)
CIE-LCHlch(52.88, 56.15, 104.16°)
OKLaboklab(58.91% -0.0443 0.1167)
OKLCHoklch(58.91% 0.125 110.8)
XYZxyz(17.2637, 20.9376, 3.6221)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818310 #121083
analogous
#834C10 #818310 #488310
triadic
#818310 #108183 #831081
tetradic
#818310 #10834C #121083 #831048
square
#818310 #10834C #121083 #831048
split-complementary
#818310 #104883 #4C1083
monochromatic
#1B1B03 #4B4C09 #818310 #B7BA17 #E2E529

Accessibility & contrast

On white

4.05
#818310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#818310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818310
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818310#FFFFFF#000000##000000
##8183101.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8F801D
Tritanopia (blue-blind)
#8B7A6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818310;
/* rgb */ color: rgb(129, 131, 16);
/* oklch */ color: oklch(58.9% 0.125 110.8);
Tailwind
colors: {
  custom: {
    50: '#a9a65d',
    500: '#818310',
    950: '#000000',
  },
}
SCSS
$custom: #818310;
$custom-light: #a9a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#818310",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 61.043,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.12478,
    "h": 110.8
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#818310
secondary
#3836B9
accent
#33F536
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818310

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

Preview Lab → · Contrast checker → · Palette generator →

#818310 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva