#8F7418#8F7418

#8F7418 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.108 H 91.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F7418
RGBrgb(143, 116, 24)
HSLhsl(46, 71%, 33%)
HSVhsv(46, 83%, 56%)
CMYKcmyk(0%, 18.9%, 83.2%, 43.9%)
CIE-LABlab(49.97, 1.36, 50.28)
CIE-LCHlch(49.97, 50.29, 88.45°)
OKLaboklab(56.93% -0.002 0.1084)
OKLCHoklch(56.93% 0.108 91.1)
XYZxyz(17.7390, 18.3975, 3.4807)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7418 #18338F
analogous
#8F3918 #8F7418 #6E8F18
triadic
#8F7418 #188F74 #74188F
tetradic
#8F7418 #188F39 #18338F #8F186E
square
#8F7418 #188F39 #18338F #8F186E
split-complementary
#8F7418 #186E8F #39188F
monochromatic
#261F06 #5B490F #8F7418 #C39F21 #DFBC42

Accessibility & contrast

On white

4.49
#8F7418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8F7418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7418
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7418#FFFFFF#000000##000000
##8F74181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f7418;
/* rgb */ color: rgb(143, 116, 24);
/* oklch */ color: oklch(56.9% 0.108 91.1);
Tailwind
colors: {
  custom: {
    50: '#b49b5e',
    500: '#8f7418',
    950: '#000000',
  },
}
SCSS
$custom: #8f7418;
$custom-light: #b49b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7418",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 46.387,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.10844,
    "h": 91.1
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#8F7418
secondary
#435FC0
accent
#63EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7418

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

Preview Lab → · Contrast checker → · Palette generator →

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