#8F7814#8F7814

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

Color values

HEX#8F7814
RGBrgb(143, 120, 20)
HSLhsl(49, 75%, 32%)
HSVhsv(49, 86%, 56%)
CMYKcmyk(0%, 16.1%, 86%, 43.9%)
CIE-LABlab(51.06, -1.03, 52.44)
CIE-LCHlch(51.06, 52.45, 91.13°)
OKLaboklab(57.79% -0.0092 0.1123)
OKLCHoklch(57.79% 0.113 94.7)
XYZxyz(18.1715, 19.3242, 3.4345)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7814 #142B8F
analogous
#8F3A14 #8F7814 #698F14
triadic
#8F7814 #148F78 #78148F
tetradic
#8F7814 #148F3A #142B8F #8F1469
square
#8F7814 #148F3A #142B8F #8F1469
split-complementary
#8F7814 #14698F #3A148F
monochromatic
#241E05 #594B0C #8F7814 #C5A51C #E3C43A

Accessibility & contrast

On white

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

On black

4.86
#8F7814 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7814
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7814#FFFFFF#000000##000000
##8F78141.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7814;
/* rgb */ color: rgb(143, 120, 20);
/* oklch */ color: oklch(57.8% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#b49e5d',
    500: '#8f7814',
    950: '#000000',
  },
}
SCSS
$custom: #8f7814;
$custom-light: #b49e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7814",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 48.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.11262,
    "h": 94.7
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#8F7814
secondary
#3C55C3
accent
#59F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7814

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

Preview Lab → · Contrast checker → · Palette generator →

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