#8C8E11#8C8E11

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

Color values

HEX#8C8E11
RGBrgb(140, 142, 17)
HSLhsl(61, 79%, 31%)
HSVhsv(61, 88%, 56%)
CMYKcmyk(1.4%, 0%, 88%, 44.3%)
CIE-LABlab(57.04, -14.53, 58.01)
CIE-LCHlch(57.04, 59.80, 104.06°)
OKLaboklab(62.47% -0.0469 0.1241)
OKLCHoklch(62.47% 0.133 110.7)
XYZxyz(20.5902, 24.9625, 4.2638)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E11 #13118E
analogous
#8E5111 #8C8E11 #4D8E11
triadic
#8C8E11 #118C8E #8E118C
tetradic
#8C8E11 #118E51 #13118E #8E114D
square
#8C8E11 #118E51 #13118E #8E114D
split-complementary
#8C8E11 #114D8E #51118E
monochromatic
#202104 #56570A #8C8E11 #C2C518 #E4E733

Accessibility & contrast

On white

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

On black

5.99
#8C8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E11
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E11#FFFFFF#000000##000000
##8C8E111.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A1F
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e11;
/* rgb */ color: rgb(140, 142, 17);
/* oklch */ color: oklch(62.5% 0.133 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae60',
    500: '#8c8e11',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e11;
$custom-light: #b1ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e11",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 60.96,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.13269,
    "h": 110.7
  },
  "luminance": 0.24962
}

Semantic roles & 50–950 ramp

primary
#8C8E11
secondary
#3B38C2
accent
#33F536
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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