#8F8719#8F8719

#8F8719 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.122 H 105.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8F8719
RGBrgb(143, 135, 25)
HSLhsl(56, 70%, 33%)
HSVhsv(56, 83%, 56%)
CMYKcmyk(0%, 5.6%, 82.5%, 43.9%)
CIE-LABlab(55.32, -9.18, 54.63)
CIE-LCHlch(55.32, 55.39, 99.54°)
OKLaboklab(61.17% -0.0316 0.1181)
OKLCHoklch(61.17% 0.122 105)
XYZxyz(20.1680, 23.2386, 4.3427)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8719 #19218F
analogous
#8F4C19 #8F8719 #5C8F19
triadic
#8F8719 #198F87 #87198F
tetradic
#8F8719 #198F4C #19218F #8F195C
square
#8F8719 #198F4C #19218F #8F195C
split-complementary
#8F8719 #195C8F #4C198F
monochromatic
#272507 #5B5610 #8F8719 #C3B822 #DED444

Accessibility & contrast

On white

3.72
#8F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8F8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8719
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8719#FFFFFF#000000##000000
##8F87191.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8719;
/* rgb */ color: rgb(143, 135, 25);
/* oklch */ color: oklch(61.2% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b4a961',
    500: '#8f8719',
    950: '#000000',
  },
}
SCSS
$custom: #8f8719;
$custom-light: #b4a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8719",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 55.932,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.12222,
    "h": 105
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#8F8719
secondary
#444DBF
accent
#47ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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