#818617#818617

#818617 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.125 H 112.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#818617
RGBrgb(129, 134, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 53%)
CMYKcmyk(3.7%, 0%, 82.8%, 47.5%)
CIE-LABlab(53.79, -15.12, 53.40)
CIE-LCHlch(53.79, 55.50, 105.81°)
OKLaboklab(59.65% -0.0476 0.1157)
OKLCHoklch(59.65% 0.125 112.4)
XYZxyz(17.7336, 21.7796, 4.0802)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818617 #1C1786
analogous
#865317 #818617 #498617
triadic
#818617 #178186 #861781
tetradic
#818617 #178653 #1C1786 #861749
square
#818617 #178653 #1C1786 #861749
split-complementary
#818617 #174986 #531786
monochromatic
#1C1E05 #4F520E #818617 #B3BA20 #D6DD3A

Accessibility & contrast

On white

3.92
#818617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#818617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818617
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818617#FFFFFF#000000##000000
##8186171.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #818617;
/* rgb */ color: rgb(129, 134, 23);
/* oklch */ color: oklch(59.6% 0.125 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9a960',
    500: '#818617',
    950: '#000000',
  },
}
SCSS
$custom: #818617;
$custom-light: #a9a960;
$custom-dark: #000000;
JSON
{
  "hex": "#818617",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 62.703,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.1251,
    "h": 112.4
  },
  "luminance": 0.21779
}

Semantic roles & 50–950 ramp

primary
#818617
secondary
#443FBA
accent
#3AED42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818617

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

Preview Lab → · Contrast checker → · Palette generator →

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