#818018#818018

#818018 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.118 H 109.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#818018
RGBrgb(129, 128, 24)
HSLhsl(59, 69%, 30%)
HSVhsv(59, 81%, 51%)
CMYKcmyk(0%, 0.8%, 81.4%, 49.4%)
CIE-LABlab(52.03, -11.87, 51.56)
CIE-LCHlch(52.03, 52.91, 102.96°)
OKLaboklab(58.24% -0.0385 0.1119)
OKLCHoklch(58.24% 0.118 109)
XYZxyz(16.9380, 20.1720, 3.8653)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818018 #181981
analogous
#814C18 #818018 #4D8118
triadic
#818018 #188180 #801881
tetradic
#818018 #18814C #181981 #81184D
square
#818018 #18814C #181981 #81184D
split-complementary
#818018 #184D81 #4C1881
monochromatic
#1A1A05 #4D4D0E #818018 #B5B322 #DAD939

Accessibility & contrast

On white

4.17
#818018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#818018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818018
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818018#FFFFFF#000000##000000
##8180181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818018;
/* rgb */ color: rgb(129, 128, 24);
/* oklch */ color: oklch(58.2% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a460',
    500: '#818018',
    950: '#000000',
  },
}
SCSS
$custom: #818018;
$custom-light: #a9a460;
$custom-dark: #000000;
JSON
{
  "hex": "#818018",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 59.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.11836,
    "h": 109
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#818018
secondary
#4041B5
accent
#3EEB3C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818018

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

Preview Lab → · Contrast checker → · Palette generator →

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