#8F8116#8F8116

#8F8116 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.118 H 101.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8F8116
RGBrgb(143, 129, 22)
HSLhsl(53, 73%, 32%)
HSVhsv(53, 85%, 56%)
CMYKcmyk(0%, 9.8%, 84.6%, 43.9%)
CIE-LABlab(53.60, -5.99, 54.01)
CIE-LCHlch(53.60, 54.35, 96.33°)
OKLaboklab(59.8% -0.023 0.1161)
OKLCHoklch(59.8% 0.118 101.2)
XYZxyz(19.3237, 21.5990, 3.9101)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8116 #16248F
analogous
#8F4516 #8F8116 #608F16
triadic
#8F8116 #168F81 #81168F
tetradic
#8F8116 #168F45 #16248F #8F1660
square
#8F8116 #168F45 #16248F #8F1660
split-complementary
#8F8116 #16608F #45168F
monochromatic
#252106 #5A510E #8F8116 #C4B11E #E1CE3E

Accessibility & contrast

On white

3.95
#8F8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8F8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8116
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8116#FFFFFF#000000##000000
##8F81161.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#92821F
Tritanopia (blue-blind)
#9B776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8116;
/* rgb */ color: rgb(143, 129, 22);
/* oklch */ color: oklch(59.8% 0.118 101.2);
Tailwind
colors: {
  custom: {
    50: '#b4a55f',
    500: '#8f8116',
    950: '#000000',
  },
}
SCSS
$custom: #8f8116;
$custom-light: #b4a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8116",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 53.058,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.11837,
    "h": 101.2
  },
  "luminance": 0.21598
}

Semantic roles & 50–950 ramp

primary
#8F8116
secondary
#3F4EC1
accent
#4DF038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #8F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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