#8F7816#8F7816

#8F7816 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.112 H 94.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F7816
RGBrgb(143, 120, 22)
HSLhsl(49, 73%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 16.1%, 84.6%, 43.9%)
CIE-LABlab(51.07, -0.97, 51.86)
CIE-LCHlch(51.07, 51.87, 91.07°)
OKLaboklab(57.79% -0.0088 0.1114)
OKLCHoklch(57.79% 0.112 94.5)
XYZxyz(18.1900, 19.3316, 3.5322)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7816 #162D8F
analogous
#8F3C16 #8F7816 #6A8F16
triadic
#8F7816 #168F78 #78168F
tetradic
#8F7816 #168F3C #162D8F #8F166A
square
#8F7816 #168F3C #162D8F #8F166A
split-complementary
#8F7816 #166A8F #3C168F
monochromatic
#251F06 #5A4B0E #8F7816 #C4A51E #E1C23E

Accessibility & contrast

On white

4.32
#8F7816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7816
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7816#FFFFFF#000000##000000
##8F78161.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#9B6E66
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f7816;
/* rgb */ color: rgb(143, 120, 22);
/* oklch */ color: oklch(57.8% 0.112 94.5);
Tailwind
colors: {
  custom: {
    50: '#b49e5e',
    500: '#8f7816',
    950: '#000000',
  },
}
SCSS
$custom: #8f7816;
$custom-light: #b49e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7816",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 48.595,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.11177,
    "h": 94.5
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#8F7816
secondary
#3F58C1
accent
#5BF038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7816

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

Preview Lab → · Contrast checker → · Palette generator →

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