#8C8F19#8C8F19

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

Color values

HEX#8C8F19
RGBrgb(140, 143, 25)
HSLhsl(62, 70%, 33%)
HSVhsv(62, 83%, 56%)
CMYKcmyk(2.1%, 0%, 82.5%, 43.9%)
CIE-LABlab(57.36, -14.82, 56.30)
CIE-LCHlch(57.36, 58.22, 104.75°)
OKLaboklab(62.73% -0.0472 0.1218)
OKLCHoklch(62.73% 0.131 111.2)
XYZxyz(20.8139, 25.2911, 4.7048)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8F19 #1C198F
analogous
#8F5719 #8C8F19 #518F19
triadic
#8C8F19 #198C8F #8F198C
tetradic
#8C8F19 #198F57 #1C198F #8F1951
square
#8C8F19 #198F57 #1C198F #8F1951
split-complementary
#8C8F19 #19518F #57198F
monochromatic
#262707 #595B10 #8C8F19 #BFC322 #DADE44

Accessibility & contrast

On white

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

On black

6.06
#8C8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8F19
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8F19#FFFFFF#000000##000000
##8C8F191.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c8f19;
/* rgb */ color: rgb(140, 143, 25);
/* oklch */ color: oklch(62.7% 0.131 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1af62',
    500: '#8c8f19',
    950: '#000000',
  },
}
SCSS
$custom: #8c8f19;
$custom-light: #b1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8f19",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 61.525,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.13063,
    "h": 111.2
  },
  "luminance": 0.25291
}

Semantic roles & 50–950 ramp

primary
#8C8F19
secondary
#4844BF
accent
#3BED3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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