#8C8B17#8C8B17

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

Color values

HEX#8C8B17
RGBrgb(140, 139, 23)
HSLhsl(59, 72%, 32%)
HSVhsv(59, 84%, 55%)
CMYKcmyk(0%, 0.7%, 83.6%, 45.1%)
CIE-LABlab(56.19, -12.77, 55.84)
CIE-LCHlch(56.19, 57.28, 102.88°)
OKLaboklab(61.8% -0.0417 0.1204)
OKLCHoklch(61.8% 0.127 109.1)
XYZxyz(20.2033, 24.1032, 4.3986)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B17 #17188C
analogous
#8C5117 #8C8B17 #538C17
triadic
#8C8B17 #178C8B #8B178C
tetradic
#8C8B17 #178C51 #17188C #8C1753
square
#8C8B17 #178C51 #17188C #8C1753
split-complementary
#8C8B17 #17538C #51178C
monochromatic
#232306 #57570E #8C8B17 #C1BF20 #DFDE3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8B17#FFFFFF#000000##000000
##8C8B171.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: #8c8b17;
/* rgb */ color: rgb(140, 139, 23);
/* oklch */ color: oklch(61.8% 0.127 109.1);
Tailwind
colors: {
  custom: {
    50: '#b1ac61',
    500: '#8c8b17',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b17;
$custom-light: #b1ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b17",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 59.487,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.12744,
    "h": 109.1
  },
  "luminance": 0.24103
}

Semantic roles & 50–950 ramp

primary
#8C8B17
secondary
#3F40BF
accent
#3BEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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