#818013#818013

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

Color values

HEX#818013
RGBrgb(129, 128, 19)
HSLhsl(59, 74%, 29%)
HSVhsv(59, 85%, 51%)
CMYKcmyk(0%, 0.8%, 85.3%, 49.4%)
CIE-LABlab(52.01, -12.04, 52.97)
CIE-LCHlch(52.01, 54.32, 102.80°)
OKLaboklab(58.22% -0.0394 0.114)
OKLCHoklch(58.22% 0.121 109.1)
XYZxyz(16.8907, 20.1530, 3.6162)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818013 #131481
analogous
#814913 #818013 #4B8113
triadic
#818013 #138180 #801381
tetradic
#818013 #138149 #131481 #81134B
square
#818013 #138149 #131481 #81134B
split-complementary
#818013 #134B81 #491381
monochromatic
#1B1A04 #4C4B0B #818013 #B6B51B #E0DF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818013#FFFFFF#000000##000000
##8180131.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)
#8D7E1E
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818013;
/* rgb */ color: rgb(129, 128, 19);
/* oklch */ color: oklch(58.2% 0.121 109.1);
Tailwind
colors: {
  custom: {
    50: '#a9a45e',
    500: '#818013',
    950: '#000000',
  },
}
SCSS
$custom: #818013;
$custom-light: #a9a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#818013",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 59.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.12061,
    "h": 109.1
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#818013
secondary
#3A3BB6
accent
#39F137
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818013

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

Preview Lab → · Contrast checker → · Palette generator →

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