#8F8618#8F8618

#8F8618 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.122 H 104.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F8618
RGBrgb(143, 134, 24)
HSLhsl(55, 71%, 33%)
HSVhsv(55, 83%, 56%)
CMYKcmyk(0%, 6.3%, 83.2%, 43.9%)
CIE-LABlab(55.03, -8.67, 54.67)
CIE-LCHlch(55.03, 55.35, 99.01°)
OKLaboklab(60.93% -0.0303 0.1179)
OKLCHoklch(60.93% 0.122 104.4)
XYZxyz(20.0186, 22.9566, 4.2406)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8618 #18218F
analogous
#8F4A18 #8F8618 #5D8F18
triadic
#8F8618 #188F86 #86188F
tetradic
#8F8618 #188F4A #18218F #8F185D
square
#8F8618 #188F4A #18218F #8F185D
split-complementary
#8F8618 #185D8F #4A188F
monochromatic
#262406 #5B550F #8F8618 #C3B721 #DFD342

Accessibility & contrast

On white

3.76
#8F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8618
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8618#FFFFFF#000000##000000
##8F86181.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8618;
/* rgb */ color: rgb(143, 134, 24);
/* oklch */ color: oklch(60.9% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b4a861',
    500: '#8f8618',
    950: '#000000',
  },
}
SCSS
$custom: #8f8618;
$custom-light: #b4a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8618",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 55.462,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.12177,
    "h": 104.4
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#8F8618
secondary
#434CC0
accent
#47EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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