#8F8B17#8F8B17

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

Color values

HEX#8F8B17
RGBrgb(143, 139, 23)
HSLhsl(58, 72%, 33%)
HSVhsv(58, 84%, 56%)
CMYKcmyk(0%, 2.8%, 83.9%, 43.9%)
CIE-LABlab(56.45, -11.40, 56.17)
CIE-LCHlch(56.45, 57.32, 101.47°)
OKLaboklab(62.07% -0.038 0.121)
OKLCHoklch(62.07% 0.127 107.4)
XYZxyz(20.7158, 24.3675, 4.4226)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B17 #171B8F
analogous
#8F4F17 #8F8B17 #578F17
triadic
#8F8B17 #178F8B #8B178F
tetradic
#8F8B17 #178F4F #171B8F #8F1757
square
#8F8B17 #178F4F #171B8F #8F1757
split-complementary
#8F8B17 #17578F #4F178F
monochromatic
#262506 #5A580F #8F8B17 #C4BE1F #E0DB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8B17#FFFFFF#000000##000000
##8F8B171.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: #8f8b17;
/* rgb */ color: rgb(143, 139, 23);
/* oklch */ color: oklch(62.1% 0.127 107.4);
Tailwind
colors: {
  custom: {
    50: '#b4ac61',
    500: '#8f8b17',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b17;
$custom-light: #b4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b17",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 58,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.12684,
    "h": 107.4
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#8F8B17
secondary
#4145C1
accent
#3FEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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