#8F7F16#8F7F16

#8F7F16 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.117 H 99.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8F7F16
RGBrgb(143, 127, 22)
HSLhsl(52, 73%, 32%)
HSVhsv(52, 85%, 56%)
CMYKcmyk(0%, 11.2%, 84.6%, 43.9%)
CIE-LABlab(53.03, -4.88, 53.53)
CIE-LCHlch(53.03, 53.76, 95.21°)
OKLaboklab(59.35% -0.0199 0.1151)
OKLCHoklch(59.35% 0.117 99.8)
XYZxyz(19.0629, 21.0773, 3.8231)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7F16 #16268F
analogous
#8F4216 #8F7F16 #638F16
triadic
#8F7F16 #168F7F #7F168F
tetradic
#8F7F16 #168F42 #16268F #8F1663
square
#8F7F16 #168F42 #16268F #8F1663
split-complementary
#8F7F16 #16638F #42168F
monochromatic
#252106 #5A500E #8F7F16 #C4AE1E #E1CC3E

Accessibility & contrast

On white

4.03
#8F7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8F7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7F16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7F16#FFFFFF#000000##000000
##8F7F161.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#91811F
Tritanopia (blue-blind)
#9B756C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f7f16;
/* rgb */ color: rgb(143, 127, 22);
/* oklch */ color: oklch(59.3% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#b4a35f',
    500: '#8f7f16',
    950: '#000000',
  },
}
SCSS
$custom: #8f7f16;
$custom-light: #b4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7f16",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 52.066,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.11677,
    "h": 99.8
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#8F7F16
secondary
#3F51C1
accent
#50F038
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #8F7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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