#818322#818322

#818322 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.116 H 110.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#818322
RGBrgb(129, 131, 34)
HSLhsl(61, 59%, 32%)
HSVhsv(61, 74%, 51%)
CMYKcmyk(1.5%, 0%, 74%, 48.6%)
CIE-LABlab(52.97, -13.04, 49.00)
CIE-LCHlch(52.97, 50.71, 104.91°)
OKLaboklab(59.01% -0.0409 0.1084)
OKLCHoklch(59.01% 0.116 110.7)
XYZxyz(17.4589, 21.0157, 4.6498)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818322 #242283
analogous
#835422 #818322 #518322
triadic
#818322 #228183 #832281
tetradic
#818322 #228354 #242283 #832251
square
#818322 #228354 #242283 #832251
split-complementary
#818322 #225183 #542283
monochromatic
#212209 #515215 #818322 #B1B42F #CED14E

Accessibility & contrast

On white

4.04
#818322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#818322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818322
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818322#FFFFFF#000000##000000
##8183221.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#8A7B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818322;
/* rgb */ color: rgb(129, 131, 34);
/* oklch */ color: oklch(59.0% 0.116 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a665',
    500: '#818322',
    950: '#000000',
  },
}
SCSS
$custom: #818322;
$custom-light: #a9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#818322",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 61.237,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.11585,
    "h": 110.7
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#818322
secondary
#4E4CB4
accent
#46E249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818322

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

Preview Lab → · Contrast checker → · Palette generator →

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