#818F16#818F16

#818F16 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.135 H 116.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#818F16
RGBrgb(129, 143, 22)
HSLhsl(67, 73%, 32%)
HSVhsv(67, 85%, 56%)
CMYKcmyk(9.8%, 0%, 84.6%, 43.9%)
CIE-LABlab(56.46, -19.85, 55.98)
CIE-LCHlch(56.46, 59.39, 109.53°)
OKLaboklab(61.79% -0.0607 0.121)
OKLCHoklch(61.79% 0.135 116.6)
XYZxyz(19.0211, 24.3702, 4.4608)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F16 #24168F
analogous
#8F6016 #818F16 #458F16
triadic
#818F16 #16818F #8F1681
tetradic
#818F16 #168F60 #24168F #8F1645
square
#818F16 #168F60 #24168F #8F1645
split-complementary
#818F16 #16458F #60168F
monochromatic
#212506 #515A0E #818F16 #B1C41E #CEE13E

Accessibility & contrast

On white

3.58
#818F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#818F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F16
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F16#FFFFFF#000000##000000
##818F161.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f16;
/* rgb */ color: rgb(129, 143, 22);
/* oklch */ color: oklch(61.8% 0.135 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9af61',
    500: '#818f16',
    950: '#000000',
  },
}
SCSS
$custom: #818f16;
$custom-light: #a9af61;
$custom-dark: #000000;
JSON
{
  "hex": "#818f16",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 66.942,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.13542,
    "h": 116.6
  },
  "luminance": 0.2437
}

Semantic roles & 50–950 ramp

primary
#818F16
secondary
#4E3FC1
accent
#38F04D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818F16

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

Preview Lab → · Contrast checker → · Palette generator →

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