#8F8B16#8F8B16

#8F8B16 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.127 H 107.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F8B16
RGBrgb(143, 139, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 2.8%, 84.6%, 43.9%)
CIE-LABlab(56.45, -11.43, 56.43)
CIE-LCHlch(56.45, 57.58, 101.45°)
OKLaboklab(62.07% -0.0382 0.1214)
OKLCHoklch(62.07% 0.127 107.5)
XYZxyz(20.7060, 24.3636, 4.3708)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B16 #161A8F
analogous
#8F4F16 #8F8B16 #568F16
triadic
#8F8B16 #168F8B #8B168F
tetradic
#8F8B16 #168F4F #161A8F #8F1656
square
#8F8B16 #168F4F #161A8F #8F1656
split-complementary
#8F8B16 #16568F #4F168F
monochromatic
#252406 #5A570E #8F8B16 #C4BF1E #E1DC3E

Accessibility & contrast

On white

3.58
#8F8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8F8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8B16
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8B16#FFFFFF#000000##000000
##8F8B161.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#9A8922
Tritanopia (blue-blind)
#9A8176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8b16;
/* rgb */ color: rgb(143, 139, 22);
/* oklch */ color: oklch(62.1% 0.127 107.5);
Tailwind
colors: {
  custom: {
    50: '#b4ac61',
    500: '#8f8b16',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b16;
$custom-light: #b4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b16",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 58.017,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.12725,
    "h": 107.5
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#8F8B16
secondary
#3F44C1
accent
#3EF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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