#818320#818320

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

Color values

HEX#818320
RGBrgb(129, 131, 32)
HSLhsl(61, 61%, 32%)
HSVhsv(61, 76%, 51%)
CMYKcmyk(1.5%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.95, -13.14, 49.73)
CIE-LCHlch(52.95, 51.43, 104.81°)
OKLaboklab(58.99% -0.0413 0.1096)
OKLCHoklch(58.99% 0.117 110.7)
XYZxyz(17.4309, 21.0045, 4.5023)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818320 #222083
analogous
#835420 #818320 #508320
triadic
#818320 #208183 #832081
tetradic
#818320 #208354 #222083 #832050
square
#818320 #208354 #222083 #832050
split-complementary
#818320 #205083 #542083
monochromatic
#202108 #515214 #818320 #B1B42C #D0D34A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818320#FFFFFF#000000##000000
##8183201.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)
#8E7D0B
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#8A7A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818320;
/* rgb */ color: rgb(129, 131, 32);
/* oklch */ color: oklch(59.0% 0.117 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a664',
    500: '#818320',
    950: '#000000',
  },
}
SCSS
$custom: #818320;
$custom-light: #a9a664;
$custom-dark: #000000;
JSON
{
  "hex": "#818320",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 61.212,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.1171,
    "h": 110.7
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#818320
secondary
#4B49B6
accent
#44E447
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818320

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

Preview Lab → · Contrast checker → · Palette generator →

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