#818518#818518

#818518 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.124 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#818518
RGBrgb(129, 133, 24)
HSLhsl(62, 69%, 31%)
HSVhsv(62, 82%, 52%)
CMYKcmyk(3%, 0%, 82%, 47.8%)
CIE-LABlab(53.50, -14.55, 52.86)
CIE-LCHlch(53.50, 54.83, 105.39°)
OKLaboklab(59.42% -0.046 0.1147)
OKLCHoklch(59.42% 0.124 111.8)
XYZxyz(17.6063, 21.5086, 4.0881)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818518 #1C1885
analogous
#855218 #818518 #4A8518
triadic
#818518 #188185 #851881
tetradic
#818518 #188552 #1C1885 #85184A
square
#818518 #188552 #1C1885 #85184A
split-complementary
#818518 #184A85 #521885
monochromatic
#1C1D05 #4F510F #818518 #B3B921 #D6DC3C

Accessibility & contrast

On white

3.96
#818518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#818518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818518
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818518#FFFFFF#000000##000000
##8185181.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #818518;
/* rgb */ color: rgb(129, 133, 24);
/* oklch */ color: oklch(59.4% 0.124 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9a860',
    500: '#818518',
    950: '#000000',
  },
}
SCSS
$custom: #818518;
$custom-light: #a9a860;
$custom-dark: #000000;
JSON
{
  "hex": "#818518",
  "rgb": {
    "r": 129,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 62.202,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.12357,
    "h": 111.8
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#818518
secondary
#4440B9
accent
#3CEC42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818518

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

Preview Lab → · Contrast checker → · Palette generator →

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