#8C8B20#8C8B20

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

Color values

HEX#8C8B20
RGBrgb(140, 139, 32)
HSLhsl(59, 63%, 34%)
HSVhsv(59, 77%, 55%)
CMYKcmyk(0%, 0.7%, 77.1%, 45.1%)
CIE-LABlab(56.23, -12.43, 53.13)
CIE-LCHlch(56.23, 54.56, 103.17°)
OKLaboklab(61.84% -0.04 0.1164)
OKLCHoklch(61.84% 0.123 109)
XYZxyz(20.3093, 24.1456, 4.9570)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B20 #20218C
analogous
#8C5520 #8C8B20 #578C20
triadic
#8C8B20 #208C8B #8B208C
tetradic
#8C8B20 #208C55 #20218C #8C2057
square
#8C8B20 #208C55 #20218C #8C2057
split-complementary
#8C8B20 #20578C #55208C
monochromatic
#282809 #5A5A15 #8C8B20 #BEBC2B #D7D650

Accessibility & contrast

On white

3.60
#8C8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8C8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B20
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B20#FFFFFF#000000##000000
##8C8B201.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#968277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b20;
/* rgb */ color: rgb(140, 139, 32);
/* oklch */ color: oklch(61.8% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#b1ac65',
    500: '#8c8b20',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b20;
$custom-light: #b1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b20",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 59.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.12303,
    "h": 109
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#8C8B20
secondary
#4E4FBA
accent
#43E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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