#818818#818818

#818818 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#818818
RGBrgb(129, 136, 24)
HSLhsl(64, 70%, 31%)
HSVhsv(64, 82%, 53%)
CMYKcmyk(5.1%, 0%, 82.4%, 46.7%)
CIE-LABlab(54.39, -16.14, 53.64)
CIE-LCHlch(54.39, 56.01, 106.75°)
OKLaboklab(60.13% -0.0504 0.1164)
OKLCHoklch(60.13% 0.127 113.4)
XYZxyz(18.0229, 22.3418, 4.2270)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818818 #1F1888
analogous
#885718 #818818 #498818
triadic
#818818 #188188 #881881
tetradic
#818818 #188857 #1F1888 #881849
square
#818818 #188857 #1F1888 #881849
split-complementary
#818818 #184988 #571888
monochromatic
#1E2006 #50540F #818818 #B2BC21 #D3DD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818818#FFFFFF#000000##000000
##8188181.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)
#938323
Tritanopia (blue-blind)
#8A7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #818818;
/* rgb */ color: rgb(129, 136, 24);
/* oklch */ color: oklch(60.1% 0.127 113.4);
Tailwind
colors: {
  custom: {
    50: '#a9aa61',
    500: '#818818',
    950: '#000000',
  },
}
SCSS
$custom: #818818;
$custom-light: #a9aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#818818",
  "rgb": {
    "r": 129,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 63.75,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.1268,
    "h": 113.4
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#818818
secondary
#4840BC
accent
#3BED46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818818

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

Preview Lab → · Contrast checker → · Palette generator →

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