#8F8718#8F8718

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

Color values

HEX#8F8718
RGBrgb(143, 135, 24)
HSLhsl(56, 71%, 33%)
HSVhsv(56, 83%, 56%)
CMYKcmyk(0%, 5.6%, 83.2%, 43.9%)
CIE-LABlab(55.31, -9.21, 54.91)
CIE-LCHlch(55.31, 55.68, 99.52°)
OKLaboklab(61.16% -0.0318 0.1185)
OKLCHoklch(61.16% 0.123 105)
XYZxyz(20.1574, 23.2344, 4.2869)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8718 #18208F
analogous
#8F4B18 #8F8718 #5C8F18
triadic
#8F8718 #188F87 #87188F
tetradic
#8F8718 #188F4B #18208F #8F185C
square
#8F8718 #188F4B #18208F #8F185C
split-complementary
#8F8718 #185C8F #4B188F
monochromatic
#262406 #5B560F #8F8718 #C3B821 #DFD542

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8718#FFFFFF#000000##000000
##8F87181.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)
#978622
Tritanopia (blue-blind)
#9A7D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8718;
/* rgb */ color: rgb(143, 135, 24);
/* oklch */ color: oklch(61.2% 0.123 105.0);
Tailwind
colors: {
  custom: {
    50: '#b4a961',
    500: '#8f8718',
    950: '#000000',
  },
}
SCSS
$custom: #8f8718;
$custom-light: #b4a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8718",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 55.966,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.12268,
    "h": 105
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#8F8718
secondary
#434BC0
accent
#46EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8718

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

Preview Lab → · Contrast checker → · Palette generator →

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