#8F7218#8F7218

#8F7218 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.5% C 0.107 H 89.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F7218
RGBrgb(143, 114, 24)
HSLhsl(45, 71%, 33%)
HSVhsv(45, 83%, 56%)
CMYKcmyk(0%, 20.3%, 83.2%, 43.9%)
CIE-LABlab(49.42, 2.50, 49.79)
CIE-LCHlch(49.42, 49.86, 87.12°)
OKLaboklab(56.5% 0.0012 0.1074)
OKLCHoklch(56.5% 0.107 89.3)
XYZxyz(17.5110, 17.9414, 3.4047)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7218 #18358F
analogous
#8F3618 #8F7218 #708F18
triadic
#8F7218 #188F72 #72188F
tetradic
#8F7218 #188F36 #18358F #8F1870
square
#8F7218 #188F36 #18358F #8F1870
split-complementary
#8F7218 #18708F #36188F
monochromatic
#261E06 #5B480F #8F7218 #C39C21 #DFB942

Accessibility & contrast

On white

4.58
#8F7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8F7218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7218
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7218#FFFFFF#000000##000000
##8F72181.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f7218;
/* rgb */ color: rgb(143, 114, 24);
/* oklch */ color: oklch(56.5% 0.107 89.3);
Tailwind
colors: {
  custom: {
    50: '#b49a5e',
    500: '#8f7218',
    950: '#000000',
  },
}
SCSS
$custom: #8f7218;
$custom-light: #b49a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7218",
  "rgb": {
    "r": 143,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 45.378,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.10738,
    "h": 89.3
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#8F7218
secondary
#4361C0
accent
#66EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7218

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

Preview Lab → · Contrast checker → · Palette generator →

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