#8C8B16#8C8B16

#8C8B16 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.128 H 109.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8C8B16
RGBrgb(140, 139, 22)
HSLhsl(59, 73%, 32%)
HSVhsv(59, 84%, 55%)
CMYKcmyk(0%, 0.7%, 84.3%, 45.1%)
CIE-LABlab(56.19, -12.80, 56.11)
CIE-LCHlch(56.19, 57.55, 102.85°)
OKLaboklab(61.79% -0.0418 0.1208)
OKLCHoklch(61.79% 0.128 109.1)
XYZxyz(20.1935, 24.0993, 4.3468)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B16 #16178C
analogous
#8C5016 #8C8B16 #528C16
triadic
#8C8B16 #168C8B #8B168C
tetradic
#8C8B16 #168C50 #16178C #8C1652
square
#8C8B16 #168C50 #16178C #8C1652
split-complementary
#8C8B16 #16528C #50168C
monochromatic
#222205 #57560E #8C8B16 #C1C01E #E0DF3C

Accessibility & contrast

On white

3.61
#8C8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8C8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B16
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B16#FFFFFF#000000##000000
##8C8B161.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#978176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b16;
/* rgb */ color: rgb(140, 139, 22);
/* oklch */ color: oklch(61.8% 0.128 109.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac61',
    500: '#8c8b16',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b16;
$custom-light: #b1ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b16",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 59.492,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.12786,
    "h": 109.1
  },
  "luminance": 0.24099
}

Semantic roles & 50–950 ramp

primary
#8C8B16
secondary
#3E3FC0
accent
#3AF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8B16

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva