#8C8D20#8C8D20

#8C8D20 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.125 H 110.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8C8D20
RGBrgb(140, 141, 32)
HSLhsl(61, 63%, 34%)
HSVhsv(61, 77%, 55%)
CMYKcmyk(0.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(56.81, -13.49, 53.66)
CIE-LCHlch(56.81, 55.33, 104.12°)
OKLaboklab(62.31% -0.0429 0.1175)
OKLCHoklch(62.31% 0.125 110.1)
XYZxyz(20.6016, 24.7301, 5.0544)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D20 #21208D
analogous
#8D5820 #8C8D20 #568D20
triadic
#8C8D20 #208C8D #8D208C
tetradic
#8C8D20 #208D58 #21208D #8D2056
square
#8C8D20 #208D58 #21208D #8D2056
split-complementary
#8C8D20 #20568D #58208D
monochromatic
#292909 #5A5B15 #8C8D20 #BEBF2B #D6D750

Accessibility & contrast

On white

3.53
#8C8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8C8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D20
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D20#FFFFFF#000000##000000
##8C8D201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d20;
/* rgb */ color: rgb(140, 141, 32);
/* oklch */ color: oklch(62.3% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#b1ae65',
    500: '#8c8d20',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d20;
$custom-light: #b1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d20",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 60.55,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.12508,
    "h": 110.1
  },
  "luminance": 0.24729
}

Semantic roles & 50–950 ramp

primary
#8C8D20
secondary
#4F4EBA
accent
#42E643
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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