#8C8D19#8C8D19

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

Color values

HEX#8C8D19
RGBrgb(140, 141, 25)
HSLhsl(61, 70%, 33%)
HSVhsv(61, 82%, 55%)
CMYKcmyk(0.7%, 0%, 82.3%, 44.7%)
CIE-LABlab(56.78, -13.77, 55.79)
CIE-LCHlch(56.78, 57.47, 103.86°)
OKLaboklab(62.27% -0.0443 0.1207)
OKLCHoklch(62.27% 0.129 110.1)
XYZxyz(20.5163, 24.6960, 4.6056)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D19 #1A198D
analogous
#8D5419 #8C8D19 #528D19
triadic
#8C8D19 #198C8D #8D198C
tetradic
#8C8D19 #198D54 #1A198D #8D1952
square
#8C8D19 #198D54 #1A198D #8D1952
split-complementary
#8C8D19 #19528D #54198D
monochromatic
#252507 #585910 #8C8D19 #C0C122 #DCDE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8D19#FFFFFF#000000##000000
##8C8D191.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)
#998700
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#968378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d19;
/* rgb */ color: rgb(140, 141, 25);
/* oklch */ color: oklch(62.3% 0.129 110.1);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d19;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d19",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 60.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.12858,
    "h": 110.1
  },
  "luminance": 0.24695
}

Semantic roles & 50–950 ramp

primary
#8C8D19
secondary
#4443BF
accent
#3BED3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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