#818817#818817

#818817 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.1% C 0.127 H 113.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#818817
RGBrgb(129, 136, 23)
HSLhsl(64, 71%, 31%)
HSVhsv(64, 83%, 53%)
CMYKcmyk(5.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.38, -16.18, 53.92)
CIE-LCHlch(54.38, 56.29, 106.70°)
OKLaboklab(60.12% -0.0505 0.1168)
OKLCHoklch(60.12% 0.127 113.4)
XYZxyz(18.0127, 22.3377, 4.1732)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818817 #1E1788
analogous
#885617 #818817 #488817
triadic
#818817 #178188 #881781
tetradic
#818817 #178856 #1E1788 #881748
square
#818817 #178856 #1E1788 #881748
split-complementary
#818817 #174888 #561788
monochromatic
#1E1F05 #4F540E #818817 #B3BC20 #D4DE3B

Accessibility & contrast

On white

3.84
#818817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#818817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818817
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818817#FFFFFF#000000##000000
##8188171.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#8A7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #818817;
/* rgb */ color: rgb(129, 136, 23);
/* oklch */ color: oklch(60.1% 0.127 113.4);
Tailwind
colors: {
  custom: {
    50: '#a9aa60',
    500: '#818817',
    950: '#000000',
  },
}
SCSS
$custom: #818817;
$custom-light: #a9aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#818817",
  "rgb": {
    "r": 129,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 63.717,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60122,
    "c": 0.12726,
    "h": 113.4
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#818817
secondary
#473FBC
accent
#3AEE45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818817

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

Preview Lab → · Contrast checker → · Palette generator →

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