#8C8A14#8C8A14

#8C8A14 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.128 H 108.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8C8A14
RGBrgb(140, 138, 20)
HSLhsl(59, 75%, 31%)
HSVhsv(59, 86%, 55%)
CMYKcmyk(0%, 1.4%, 85.7%, 45.1%)
CIE-LABlab(55.89, -12.33, 56.37)
CIE-LCHlch(55.89, 57.70, 102.33°)
OKLaboklab(61.55% -0.0406 0.121)
OKLCHoklch(61.55% 0.128 108.6)
XYZxyz(20.0308, 23.8036, 4.2011)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A14 #14168C
analogous
#8C4E14 #8C8A14 #528C14
triadic
#8C8A14 #148C8A #8A148C
tetradic
#8C8A14 #148C4E #14168C #8C1452
square
#8C8A14 #148C4E #14168C #8C1452
split-complementary
#8C8A14 #14528C #4E148C
monochromatic
#212005 #56550C #8C8A14 #C2BF1C #E3E038

Accessibility & contrast

On white

3.65
#8C8A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8C8A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A14
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A14#FFFFFF#000000##000000
##8C8A141.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988820
Tritanopia (blue-blind)
#978075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a14;
/* rgb */ color: rgb(140, 138, 20);
/* oklch */ color: oklch(61.6% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab60',
    500: '#8c8a14',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a14;
$custom-light: #b1ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a14",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 59,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.12767,
    "h": 108.6
  },
  "luminance": 0.23803
}

Semantic roles & 50–950 ramp

primary
#8C8A14
secondary
#3C3EC0
accent
#39F236
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8A14

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

Preview Lab → · Contrast checker → · Palette generator →

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