#8C8D14#8C8D14

#8C8D14 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.131 H 110.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8C8D14
RGBrgb(140, 141, 20)
HSLhsl(60, 75%, 32%)
HSVhsv(60, 86%, 55%)
CMYKcmyk(0.7%, 0%, 85.8%, 44.7%)
CIE-LABlab(56.76, -13.92, 57.09)
CIE-LCHlch(56.76, 58.77, 103.70°)
OKLaboklab(62.25% -0.0451 0.1226)
OKLCHoklch(62.25% 0.131 110.2)
XYZxyz(20.4672, 24.6763, 4.3466)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D14 #15148D
analogous
#8D5214 #8C8D14 #508D14
triadic
#8C8D14 #148C8D #8D148C
tetradic
#8C8D14 #148D52 #15148D #8D1450
square
#8C8D14 #148D52 #15148D #8D1450
split-complementary
#8C8D14 #14508D #52148D
monochromatic
#222205 #57570C #8C8D14 #C1C31C #E1E339

Accessibility & contrast

On white

3.54
#8C8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8C8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D14
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D14#FFFFFF#000000##000000
##8C8D141.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8A21
Tritanopia (blue-blind)
#978378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d14;
/* rgb */ color: rgb(140, 141, 20);
/* oklch */ color: oklch(62.2% 0.131 110.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae60',
    500: '#8c8d14',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d14;
$custom-light: #b1ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d14",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 60.496,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.13063,
    "h": 110.2
  },
  "luminance": 0.24676
}

Semantic roles & 50–950 ramp

primary
#8C8D14
secondary
#3D3CC1
accent
#36F238
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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