#818718#818718

#818718 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.126 H 112.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#818718
RGBrgb(129, 135, 24)
HSLhsl(63, 70%, 31%)
HSVhsv(63, 82%, 53%)
CMYKcmyk(4.4%, 0%, 82.2%, 47.1%)
CIE-LABlab(54.09, -15.61, 53.38)
CIE-LCHlch(54.09, 55.62, 106.31°)
OKLaboklab(59.89% -0.0489 0.1158)
OKLCHoklch(59.89% 0.126 112.9)
XYZxyz(17.8827, 22.0614, 4.1802)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818718 #1E1887
analogous
#875518 #818718 #498718
triadic
#818718 #188187 #871881
tetradic
#818718 #188755 #1E1887 #871849
square
#818718 #188755 #1E1887 #871849
split-complementary
#818718 #184987 #551887
monochromatic
#1E1F06 #4F530F #818718 #B3BB21 #D4DC3D

Accessibility & contrast

On white

3.88
#818718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#818718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818718
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818718#FFFFFF#000000##000000
##8187181.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#8A7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #818718;
/* rgb */ color: rgb(129, 135, 24);
/* oklch */ color: oklch(59.9% 0.126 112.9);
Tailwind
colors: {
  custom: {
    50: '#a9a961',
    500: '#818718',
    950: '#000000',
  },
}
SCSS
$custom: #818718;
$custom-light: #a9a961;
$custom-dark: #000000;
JSON
{
  "hex": "#818718",
  "rgb": {
    "r": 129,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 63.243,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.12571,
    "h": 112.9
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#818718
secondary
#4740BB
accent
#3BED45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818718

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

Preview Lab → · Contrast checker → · Palette generator →

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