#8F7C16#8F7C16

#8F7C16 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.115 H 97.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F7C16
RGBrgb(143, 124, 22)
HSLhsl(51, 73%, 32%)
HSVhsv(51, 85%, 56%)
CMYKcmyk(0%, 13.3%, 84.6%, 43.9%)
CIE-LABlab(52.19, -3.21, 52.81)
CIE-LCHlch(52.19, 52.91, 93.48°)
OKLaboklab(58.68% -0.0152 0.1135)
OKLCHoklch(58.68% 0.115 97.6)
XYZxyz(18.6812, 20.3139, 3.6959)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C16 #16298F
analogous
#8F4016 #8F7C16 #658F16
triadic
#8F7C16 #168F7C #7C168F
tetradic
#8F7C16 #168F40 #16298F #8F1665
square
#8F7C16 #168F40 #16298F #8F1665
split-complementary
#8F7C16 #16658F #40168F
monochromatic
#252006 #5A4E0E #8F7C16 #C4AA1E #E1C83E

Accessibility & contrast

On white

4.15
#8F7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7C16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7C16#FFFFFF#000000##000000
##8F7C161.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7c16;
/* rgb */ color: rgb(143, 124, 22);
/* oklch */ color: oklch(58.7% 0.115 97.6);
Tailwind
colors: {
  custom: {
    50: '#b4a15f',
    500: '#8f7c16',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c16;
$custom-light: #b4a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c16",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 50.579,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.11451,
    "h": 97.6
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#8F7C16
secondary
#3F54C1
accent
#55F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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