#8C8F14#8C8F14

#8C8F14 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.133 H 111.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8C8F14
RGBrgb(140, 143, 20)
HSLhsl(61, 75%, 32%)
HSVhsv(61, 86%, 56%)
CMYKcmyk(2.1%, 0%, 86%, 43.9%)
CIE-LABlab(57.34, -14.98, 57.58)
CIE-LCHlch(57.34, 59.49, 104.58°)
OKLaboklab(62.71% -0.048 0.1237)
OKLCHoklch(62.71% 0.133 111.2)
XYZxyz(20.7647, 25.2715, 4.4457)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8F14 #17148F
analogous
#8F5414 #8C8F14 #4F8F14
triadic
#8C8F14 #148C8F #8F148C
tetradic
#8C8F14 #148F54 #17148F #8F144F
square
#8C8F14 #148F54 #17148F #8F144F
split-complementary
#8C8F14 #144F8F #54148F
monochromatic
#232405 #57590C #8C8F14 #C1C51C #DFE33A

Accessibility & contrast

On white

3.47
#8C8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8C8F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8F14
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8F14#FFFFFF#000000##000000
##8C8F141.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B21
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8c8f14;
/* rgb */ color: rgb(140, 143, 20);
/* oklch */ color: oklch(62.7% 0.133 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1af61',
    500: '#8c8f14',
    950: '#000000',
  },
}
SCSS
$custom: #8c8f14;
$custom-light: #b1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8f14",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 61.463,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.13265,
    "h": 111.2
  },
  "luminance": 0.25271
}

Semantic roles & 50–950 ramp

primary
#8C8F14
secondary
#3F3CC3
accent
#36F23A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8F14

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

Preview Lab → · Contrast checker → · Palette generator →

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