#818822#818822

#818822 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.121 H 113.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#818822
RGBrgb(129, 136, 34)
HSLhsl(64, 60%, 33%)
HSVhsv(64, 75%, 53%)
CMYKcmyk(5.1%, 0%, 75%, 46.7%)
CIE-LABlab(54.44, -15.71, 50.41)
CIE-LCHlch(54.44, 52.80, 107.31°)
OKLaboklab(60.19% -0.0483 0.1114)
OKLCHoklch(60.19% 0.121 113.4)
XYZxyz(18.1467, 22.3913, 4.8791)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818822 #292288
analogous
#885C22 #818822 #4E8822
triadic
#818822 #228188 #882281
tetradic
#818822 #22885C #292288 #88224E
square
#818822 #22885C #292288 #88224E
split-complementary
#818822 #224E88 #5C2288
monochromatic
#24260A #535716 #818822 #AFB92E #CBD351

Accessibility & contrast

On white

3.83
#818822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#818822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818822
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818822#FFFFFF#000000##000000
##8188221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#8A8074
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #818822;
/* rgb */ color: rgb(129, 136, 34);
/* oklch */ color: oklch(60.2% 0.121 113.4);
Tailwind
colors: {
  custom: {
    50: '#a9aa65',
    500: '#818822',
    950: '#000000',
  },
}
SCSS
$custom: #818822;
$custom-light: #a9aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#818822",
  "rgb": {
    "r": 129,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 64.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.12141,
    "h": 113.4
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#818822
secondary
#564FB7
accent
#45E350
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818822

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

Preview Lab → · Contrast checker → · Palette generator →

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