#8F8217#8F8217

#8F8217 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.119 H 101.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8F8217
RGBrgb(143, 130, 23)
HSLhsl(54, 72%, 33%)
HSVhsv(54, 84%, 56%)
CMYKcmyk(0%, 9.1%, 83.9%, 43.9%)
CIE-LABlab(53.89, -6.51, 53.97)
CIE-LCHlch(53.89, 54.37, 96.88°)
OKLaboklab(60.03% -0.0243 0.1162)
OKLCHoklch(60.03% 0.119 101.8)
XYZxyz(19.4659, 21.8677, 4.0060)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8217 #17248F
analogous
#8F4617 #8F8217 #608F17
triadic
#8F8217 #178F82 #82178F
tetradic
#8F8217 #178F46 #17248F #8F1760
square
#8F8217 #178F46 #17248F #8F1760
split-complementary
#8F8217 #17608F #46178F
monochromatic
#262206 #5A520F #8F8217 #C4B21F #E0CF40

Accessibility & contrast

On white

3.91
#8F8217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8F8217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8217
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8217#FFFFFF#000000##000000
##8F82171.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#9B786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8217;
/* rgb */ color: rgb(143, 130, 23);
/* oklch */ color: oklch(60.0% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#b4a560',
    500: '#8f8217',
    950: '#000000',
  },
}
SCSS
$custom: #8f8217;
$custom-light: #b4a560;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8217",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 53.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.11876,
    "h": 101.8
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#8F8217
secondary
#414FC1
accent
#4DEF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #8F8217

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

Preview Lab → · Contrast checker → · Palette generator →

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