#818B16#818B16

#818B16 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.131 H 114.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#818B16
RGBrgb(129, 139, 22)
HSLhsl(65, 73%, 32%)
HSVhsv(65, 84%, 55%)
CMYKcmyk(7.2%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.27, -17.78, 54.96)
CIE-LCHlch(55.27, 57.76, 107.93°)
OKLaboklab(60.83% -0.055 0.1188)
OKLCHoklch(60.83% 0.131 114.8)
XYZxyz(18.4313, 23.1906, 4.2642)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B16 #20168B
analogous
#8B5B16 #818B16 #478B16
triadic
#818B16 #16818B #8B1681
tetradic
#818B16 #168B5B #20168B #8B1647
square
#818B16 #168B5B #20168B #8B1647
split-complementary
#818B16 #16478B #5B168B
monochromatic
#1F2105 #50560E #818B16 #B2C01E #D2E03B

Accessibility & contrast

On white

3.72
#818B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#818B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B16
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B16#FFFFFF#000000##000000
##818B161.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#8A8276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b16;
/* rgb */ color: rgb(129, 139, 22);
/* oklch */ color: oklch(60.8% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#a9ac60',
    500: '#818b16',
    950: '#000000',
  },
}
SCSS
$custom: #818b16;
$custom-light: #a9ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#818b16",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 65.128,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.13096,
    "h": 114.8
  },
  "luminance": 0.2319
}

Semantic roles & 50–950 ramp

primary
#818B16
secondary
#493EBF
accent
#38EF48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818B16

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

Preview Lab → · Contrast checker → · Palette generator →

#818B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva