#8F7A16#8F7A16

#8F7A16 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.113 H 96.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F7A16
RGBrgb(143, 122, 22)
HSLhsl(50, 73%, 32%)
HSVhsv(50, 85%, 56%)
CMYKcmyk(0%, 14.7%, 84.6%, 43.9%)
CIE-LABlab(51.63, -2.09, 52.33)
CIE-LCHlch(51.63, 52.38, 92.29°)
OKLaboklab(58.24% -0.012 0.1125)
OKLCHoklch(58.24% 0.113 96.1)
XYZxyz(18.4331, 19.8177, 3.6132)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7A16 #162B8F
analogous
#8F3E16 #8F7A16 #678F16
triadic
#8F7A16 #168F7A #7A168F
tetradic
#8F7A16 #168F3E #162B8F #8F1667
square
#8F7A16 #168F3E #162B8F #8F1667
split-complementary
#8F7A16 #16678F #3E168F
monochromatic
#251F06 #5A4D0E #8F7A16 #C4A71E #E1C53E

Accessibility & contrast

On white

4.23
#8F7A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8F7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7A16
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7A16#FFFFFF#000000##000000
##8F7A161.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#9B7068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7a16;
/* rgb */ color: rgb(143, 122, 22);
/* oklch */ color: oklch(58.2% 0.113 96.1);
Tailwind
colors: {
  custom: {
    50: '#b4a05e',
    500: '#8f7a16',
    950: '#000000',
  },
}
SCSS
$custom: #8f7a16;
$custom-light: #b4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7a16",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 49.587,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.1131,
    "h": 96.1
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#8F7A16
secondary
#3F56C1
accent
#58F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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