#818022#818022

#818022 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.113 H 108.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#818022
RGBrgb(129, 128, 34)
HSLhsl(59, 58%, 32%)
HSVhsv(59, 74%, 51%)
CMYKcmyk(0%, 0.8%, 73.6%, 49.4%)
CIE-LABlab(52.09, -11.42, 48.15)
CIE-LCHlch(52.09, 49.49, 103.35°)
OKLaboklab(58.3% -0.0363 0.1066)
OKLCHoklch(58.3% 0.113 108.8)
XYZxyz(17.0618, 20.2215, 4.5174)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818022 #222381
analogous
#815022 #818022 #538122
triadic
#818022 #228180 #802281
tetradic
#818022 #228150 #222381 #812253
square
#818022 #228150 #222381 #812253
split-complementary
#818022 #225381 #502281
monochromatic
#202008 #515015 #818022 #B1B02F #D0CF4D

Accessibility & contrast

On white

4.16
#818022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#818022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818022
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818022#FFFFFF#000000##000000
##8180221.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#8B776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818022;
/* rgb */ color: rgb(129, 128, 34);
/* oklch */ color: oklch(58.3% 0.113 108.8);
Tailwind
colors: {
  custom: {
    50: '#a9a464',
    500: '#818022',
    950: '#000000',
  },
}
SCSS
$custom: #818022;
$custom-light: #a9a464;
$custom-dark: #000000;
JSON
{
  "hex": "#818022",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 59.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.11264,
    "h": 108.8
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#818022
secondary
#4B4DB3
accent
#48E146
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818022

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

Preview Lab → · Contrast checker → · Palette generator →

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