#8F8919#8F8919

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

Color values

HEX#8F8919
RGBrgb(143, 137, 25)
HSLhsl(57, 70%, 33%)
HSVhsv(57, 83%, 56%)
CMYKcmyk(0%, 4.2%, 82.5%, 43.9%)
CIE-LABlab(55.89, -10.26, 55.12)
CIE-LCHlch(55.89, 56.07, 100.54°)
OKLaboklab(61.62% -0.0347 0.1191)
OKLCHoklch(61.62% 0.124 106.2)
XYZxyz(20.4497, 23.8019, 4.4366)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8919 #191F8F
analogous
#8F4E19 #8F8919 #5A8F19
triadic
#8F8919 #198F89 #89198F
tetradic
#8F8919 #198F4E #191F8F #8F195A
square
#8F8919 #198F4E #191F8F #8F195A
split-complementary
#8F8919 #195A8F #4E198F
monochromatic
#272507 #5B5710 #8F8919 #C3BB22 #DED644

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8919#FFFFFF#000000##000000
##8F89191.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)
#988823
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8919;
/* rgb */ color: rgb(143, 137, 25);
/* oklch */ color: oklch(61.6% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#b4ab62',
    500: '#8f8919',
    950: '#000000',
  },
}
SCSS
$custom: #8f8919;
$custom-light: #b4ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8919",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 56.949,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.12407,
    "h": 106.2
  },
  "luminance": 0.23801
}

Semantic roles & 50–950 ramp

primary
#8F8919
secondary
#444BBF
accent
#44ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8919

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

Preview Lab → · Contrast checker → · Palette generator →

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