#818622#818622

#818622 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.119 H 112.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#818622
RGBrgb(129, 134, 34)
HSLhsl(63, 60%, 33%)
HSVhsv(63, 75%, 53%)
CMYKcmyk(3.7%, 0%, 74.6%, 47.5%)
CIE-LABlab(53.85, -14.65, 49.85)
CIE-LCHlch(53.85, 51.95, 106.38°)
OKLaboklab(59.71% -0.0454 0.1102)
OKLCHoklch(59.71% 0.119 112.4)
XYZxyz(17.8677, 21.8332, 4.7861)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818622 #272286
analogous
#865922 #818622 #4F8622
triadic
#818622 #228186 #862281
tetradic
#818622 #228659 #272286 #86224F
square
#818622 #228659 #272286 #86224F
split-complementary
#818622 #224F86 #592286
monochromatic
#232409 #525516 #818622 #B0B72E #CCD350

Accessibility & contrast

On white

3.91
#818622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#818622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818622
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818622#FFFFFF#000000##000000
##8186221.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#8A7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #818622;
/* rgb */ color: rgb(129, 134, 34);
/* oklch */ color: oklch(59.7% 0.119 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9a965',
    500: '#818622',
    950: '#000000',
  },
}
SCSS
$custom: #818622;
$custom-light: #a9a965;
$custom-dark: #000000;
JSON
{
  "hex": "#818622",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 63,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.11916,
    "h": 112.4
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#818622
secondary
#534EB6
accent
#45E34D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818622

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

Preview Lab → · Contrast checker → · Palette generator →

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