#8F8C19#8F8C19

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

Color values

HEX#8F8C19
RGBrgb(143, 140, 25)
HSLhsl(58, 70%, 33%)
HSVhsv(58, 83%, 56%)
CMYKcmyk(0%, 2.1%, 82.5%, 43.9%)
CIE-LABlab(56.75, -11.87, 55.87)
CIE-LCHlch(56.75, 57.12, 101.99°)
OKLaboklab(62.31% -0.0392 0.1207)
OKLCHoklch(62.31% 0.127 108)
XYZxyz(20.8821, 24.6667, 4.5807)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8C19 #191C8F
analogous
#8F5119 #8F8C19 #578F19
triadic
#8F8C19 #198F8C #8C198F
tetradic
#8F8C19 #198F51 #191C8F #8F1957
square
#8F8C19 #198F51 #191C8F #8F1957
split-complementary
#8F8C19 #19578F #51198F
monochromatic
#272607 #5B5910 #8F8C19 #C3BF22 #DEDA44

Accessibility & contrast

On white

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

On black

5.93
#8F8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8C19
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8C19#FFFFFF#000000##000000
##8F8C191.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#9A8277
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f8c19;
/* rgb */ color: rgb(143, 140, 25);
/* oklch */ color: oklch(62.3% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b3ad62',
    500: '#8f8c19',
    950: '#000000',
  },
}
SCSS
$custom: #8f8c19;
$custom-light: #b3ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8c19",
  "rgb": {
    "r": 143,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 58.475,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.12693,
    "h": 108
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#8F8C19
secondary
#4448BF
accent
#3FED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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