#8F7B16#8F7B16

#8F7B16 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.114 H 96.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8F7B16
RGBrgb(143, 123, 22)
HSLhsl(50, 73%, 32%)
HSVhsv(50, 85%, 56%)
CMYKcmyk(0%, 14%, 84.6%, 43.9%)
CIE-LABlab(51.91, -2.65, 52.57)
CIE-LCHlch(51.91, 52.64, 92.89°)
OKLaboklab(58.46% -0.0136 0.113)
OKLCHoklch(58.46% 0.114 96.9)
XYZxyz(18.5565, 20.0645, 3.6543)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7B16 #162A8F
analogous
#8F3F16 #8F7B16 #668F16
triadic
#8F7B16 #168F7B #7B168F
tetradic
#8F7B16 #168F3F #162A8F #8F1666
square
#8F7B16 #168F3F #162A8F #8F1666
split-complementary
#8F7B16 #16668F #3F168F
monochromatic
#252006 #5A4D0E #8F7B16 #C4A91E #E1C63E

Accessibility & contrast

On white

4.19
#8F7B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8F7B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7B16
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7B16#FFFFFF#000000##000000
##8F7B161.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7F1E
Tritanopia (blue-blind)
#9B7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f7b16;
/* rgb */ color: rgb(143, 123, 22);
/* oklch */ color: oklch(58.5% 0.114 96.9);
Tailwind
colors: {
  custom: {
    50: '#b4a05e',
    500: '#8f7b16',
    950: '#000000',
  },
}
SCSS
$custom: #8f7b16;
$custom-light: #b4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7b16",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 50.083,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.11379,
    "h": 96.9
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

primary
#8F7B16
secondary
#3F55C1
accent
#56F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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