#8F7216#8F7216

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

Color values

HEX#8F7216
RGBrgb(143, 114, 22)
HSLhsl(46, 73%, 32%)
HSVhsv(46, 85%, 56%)
CMYKcmyk(0%, 20.3%, 84.6%, 43.9%)
CIE-LABlab(49.42, 2.44, 50.43)
CIE-LCHlch(49.42, 50.49, 87.23°)
OKLaboklab(56.49% 0.0008 0.1083)
OKLCHoklch(56.49% 0.108 89.6)
XYZxyz(17.4909, 17.9334, 3.2991)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7216 #16338F
analogous
#8F3616 #8F7216 #6F8F16
triadic
#8F7216 #168F72 #72168F
tetradic
#8F7216 #168F36 #16338F #8F166F
square
#8F7216 #168F36 #16338F #8F166F
split-complementary
#8F7216 #166F8F #36168F
monochromatic
#251D06 #5A480E #8F7216 #C49C1E #E1BA3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7216#FFFFFF#000000##000000
##8F72161.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)
#807100
Deuteranopia (green-blind)
#87791C
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f7216;
/* rgb */ color: rgb(143, 114, 22);
/* oklch */ color: oklch(56.5% 0.108 89.6);
Tailwind
colors: {
  custom: {
    50: '#b49a5d',
    500: '#8f7216',
    950: '#000000',
  },
}
SCSS
$custom: #8f7216;
$custom-light: #b49a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7216",
  "rgb": {
    "r": 143,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 45.62,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.10831,
    "h": 89.6
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#8F7216
secondary
#3F5FC1
accent
#64F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7216

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

Preview Lab → · Contrast checker → · Palette generator →

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