#8F7214#8F7214

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

Color values

HEX#8F7214
RGBrgb(143, 114, 20)
HSLhsl(46, 75%, 32%)
HSVhsv(46, 86%, 56%)
CMYKcmyk(0%, 20.3%, 86%, 43.9%)
CIE-LABlab(49.41, 2.38, 51.04)
CIE-LCHlch(49.41, 51.09, 87.34°)
OKLaboklab(56.48% 0.0005 0.1092)
OKLCHoklch(56.48% 0.109 89.7)
XYZxyz(17.4724, 17.9260, 3.2015)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7214 #14318F
analogous
#8F3514 #8F7214 #6E8F14
triadic
#8F7214 #148F72 #72148F
tetradic
#8F7214 #148F35 #14318F #8F146E
square
#8F7214 #148F35 #14318F #8F146E
split-complementary
#8F7214 #146E8F #35148F
monochromatic
#241C05 #59470C #8F7214 #C59D1C #E3BB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7214#FFFFFF#000000##000000
##8F72141.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)
#87791B
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f7214;
/* rgb */ color: rgb(143, 114, 20);
/* oklch */ color: oklch(56.5% 0.109 89.7);
Tailwind
colors: {
  custom: {
    50: '#b49a5c',
    500: '#8f7214',
    950: '#000000',
  },
}
SCSS
$custom: #8f7214;
$custom-light: #b49a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7214",
  "rgb": {
    "r": 143,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 45.854,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.10919,
    "h": 89.7
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#8F7214
secondary
#3C5CC3
accent
#62F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E04
muted
#817E79

Preview Lab

Preview with #8F7214

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

Preview Lab → · Contrast checker → · Palette generator →

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