#8F8A16#8F8A16

#8F8A16 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.126 H 106.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F8A16
RGBrgb(143, 138, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 3.5%, 84.6%, 43.9%)
CIE-LABlab(56.16, -10.89, 56.19)
CIE-LCHlch(56.16, 57.24, 100.97°)
OKLaboklab(61.84% -0.0367 0.1209)
OKLCHoklch(61.84% 0.126 106.9)
XYZxyz(20.5619, 24.0753, 4.3228)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A16 #161B8F
analogous
#8F4E16 #8F8A16 #578F16
triadic
#8F8A16 #168F8A #8A168F
tetradic
#8F8A16 #168F4E #161B8F #8F1657
square
#8F8A16 #168F4E #161B8F #8F1657
split-complementary
#8F8A16 #16578F #4E168F
monochromatic
#252406 #5A570E #8F8A16 #C4BD1E #E1DB3E

Accessibility & contrast

On white

3.61
#8F8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A16
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A16#FFFFFF#000000##000000
##8F8A161.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#998921
Tritanopia (blue-blind)
#9A8075
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a16;
/* rgb */ color: rgb(143, 138, 22);
/* oklch */ color: oklch(61.8% 0.126 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#8f8a16',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a16;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a16",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 57.521,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.1263,
    "h": 106.9
  },
  "luminance": 0.24075
}

Semantic roles & 50–950 ramp

primary
#8F8A16
secondary
#3F45C1
accent
#3FF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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