#8F7518#8F7518

#8F7518 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.109 H 91.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F7518
RGBrgb(143, 117, 24)
HSLhsl(47, 71%, 33%)
HSVhsv(47, 83%, 56%)
CMYKcmyk(0%, 18.2%, 83.2%, 43.9%)
CIE-LABlab(50.25, 0.80, 50.52)
CIE-LCHlch(50.25, 50.52, 89.10°)
OKLaboklab(57.15% -0.0036 0.1089)
OKLCHoklch(57.15% 0.109 91.9)
XYZxyz(17.8549, 18.6293, 3.5194)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7518 #18328F
analogous
#8F3A18 #8F7518 #6D8F18
triadic
#8F7518 #188F75 #75188F
tetradic
#8F7518 #188F3A #18328F #8F186D
square
#8F7518 #188F3A #18328F #8F186D
split-complementary
#8F7518 #186D8F #3A188F
monochromatic
#261F06 #5B4A0F #8F7518 #C3A021 #DFBD42

Accessibility & contrast

On white

4.44
#8F7518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8F7518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7518
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7518#FFFFFF#000000##000000
##8F75181.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7518;
/* rgb */ color: rgb(143, 117, 24);
/* oklch */ color: oklch(57.1% 0.109 91.9);
Tailwind
colors: {
  custom: {
    50: '#b49c5e',
    500: '#8f7518',
    950: '#000000',
  },
}
SCSS
$custom: #8f7518;
$custom-light: #b49c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7518",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 46.891,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.109,
    "h": 91.9
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#8F7518
secondary
#435EC0
accent
#61EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7518

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

Preview Lab → · Contrast checker → · Palette generator →

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