#8F9518#8F9518

#8F9518 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.136 H 112.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F9518
RGBrgb(143, 149, 24)
HSLhsl(63, 72%, 34%)
HSVhsv(63, 84%, 58%)
CMYKcmyk(4%, 0%, 83.9%, 41.6%)
CIE-LABlab(59.34, -16.65, 58.37)
CIE-LCHlch(59.34, 60.70, 105.92°)
OKLaboklab(64.38% -0.0525 0.126)
OKLCHoklch(64.38% 0.136 112.6)
XYZxyz(22.2408, 27.4010, 4.9813)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9518 #1E1895
analogous
#955D18 #8F9518 #519518
triadic
#8F9518 #188F95 #95188F
tetradic
#8F9518 #18955D #1E1895 #951851
square
#8F9518 #18955D #1E1895 #951851
split-complementary
#8F9518 #185195 #5D1895
monochromatic
#2A2C07 #5C6010 #8F9518 #C2CA20 #DAE146

Accessibility & contrast

On white

3.24
#8F9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8F9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9518
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9518#FFFFFF#000000##000000
##8F95181.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f9518;
/* rgb */ color: rgb(143, 149, 24);
/* oklch */ color: oklch(64.4% 0.136 112.6);
Tailwind
colors: {
  custom: {
    50: '#b4b363',
    500: '#8f9518',
    950: '#000000',
  },
}
SCSS
$custom: #8f9518;
$custom-light: #b4b363;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9518",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 62.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.13645,
    "h": 112.6
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#8F9518
secondary
#4C46C2
accent
#39EF42
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9518

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

Preview Lab → · Contrast checker → · Palette generator →

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