#8F8F18#8F8F18

#8F8F18 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.130 H 109.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F8F18
RGBrgb(143, 143, 24)
HSLhsl(60, 71%, 33%)
HSVhsv(60, 83%, 56%)
CMYKcmyk(0%, 0%, 83.2%, 43.9%)
CIE-LABlab(57.61, -13.50, 56.89)
CIE-LCHlch(57.61, 58.47, 103.35°)
OKLaboklab(62.99% -0.0438 0.1228)
OKLCHoklch(62.99% 0.13 109.6)
XYZxyz(21.3159, 25.5512, 4.6730)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F18 #18188F
analogous
#8F5318 #8F8F18 #538F18
triadic
#8F8F18 #188F8F #8F188F
tetradic
#8F8F18 #188F53 #18188F #8F1853
square
#8F8F18 #188F53 #18188F #8F1853
split-complementary
#8F8F18 #18538F #53188F
monochromatic
#262606 #5B5B0F #8F8F18 #C3C321 #DFDF42

Accessibility & contrast

On white

3.44
#8F8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8F8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F18
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F18#FFFFFF#000000##000000
##8F8F181.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C24
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8f18;
/* rgb */ color: rgb(143, 143, 24);
/* oklch */ color: oklch(63.0% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#b4af62',
    500: '#8f8f18',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f18;
$custom-light: #b4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f18",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.13032,
    "h": 109.6
  },
  "luminance": 0.25551
}

Semantic roles & 50–950 ramp

primary
#8F8F18
secondary
#4343C0
accent
#3AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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