#8C8E20#8C8E20

#8C8E20 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.126 H 110.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8C8E20
RGBrgb(140, 142, 32)
HSLhsl(61, 63%, 34%)
HSVhsv(61, 77%, 56%)
CMYKcmyk(1.4%, 0%, 77.5%, 44.3%)
CIE-LABlab(57.10, -14.03, 53.92)
CIE-LCHlch(57.10, 55.72, 104.58°)
OKLaboklab(62.54% -0.0444 0.118)
OKLCHoklch(62.54% 0.126 110.6)
XYZxyz(20.7497, 25.0263, 5.1038)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E20 #22208E
analogous
#8E5920 #8C8E20 #558E20
triadic
#8C8E20 #208C8E #8E208C
tetradic
#8C8E20 #208E59 #22208E #8E2055
square
#8C8E20 #208E59 #22208E #8E2055
split-complementary
#8C8E20 #20558E #59208E
monochromatic
#2A2A09 #5B5C15 #8C8E20 #BDC02B #D5D851

Accessibility & contrast

On white

3.50
#8C8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8C8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E20
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E20#FFFFFF#000000##000000
##8C8E201.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8704
Deuteranopia (green-blind)
#9B8A29
Tritanopia (blue-blind)
#968579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e20;
/* rgb */ color: rgb(140, 142, 32);
/* oklch */ color: oklch(62.5% 0.126 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae65',
    500: '#8c8e20',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e20;
$custom-light: #b1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e20",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 61.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.12612,
    "h": 110.6
  },
  "luminance": 0.25026
}

Semantic roles & 50–950 ramp

primary
#8C8E20
secondary
#514FBB
accent
#42E645
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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