#8F9C24#8F9C24

#8F9C24 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.1% C 0.138 H 115.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F9C24
RGBrgb(143, 156, 36)
HSLhsl(67, 63%, 38%)
HSVhsv(67, 77%, 61%)
CMYKcmyk(8.3%, 0%, 76.9%, 38.8%)
CIE-LABlab(61.43, -19.79, 56.69)
CIE-LCHlch(61.43, 60.04, 109.24°)
OKLaboklab(66.07% -0.0602 0.1245)
OKLCHoklch(66.07% 0.138 115.8)
XYZxyz(23.5352, 29.7443, 6.1701)
Luminance0.2974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9C24 #31249C
analogous
#9C6D24 #8F9C24 #539C24
triadic
#8F9C24 #248F9C #9C248F
tetradic
#8F9C24 #249C6D #31249C #9C2453
square
#8F9C24 #249C6D #31249C #9C2453
split-complementary
#8F9C24 #24539C #6D249C
monochromatic
#34390D #616A19 #8F9C24 #BDCE2F #CDDA60

Accessibility & contrast

On white

3.02
#8F9C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8F9C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9C24
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9C24#FFFFFF#000000##000000
##8F9C241.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79405
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#989386
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9c24;
/* rgb */ color: rgb(143, 156, 36);
/* oklch */ color: oklch(66.1% 0.138 115.8);
Tailwind
colors: {
  custom: {
    50: '#b3b969',
    500: '#8f9c24',
    950: '#000000',
  },
}
SCSS
$custom: #8f9c24;
$custom-light: #b3b969;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9c24",
  "rgb": {
    "r": 143,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 66.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66075,
    "c": 0.13833,
    "h": 115.8
  },
  "luminance": 0.29744
}

Semantic roles & 50–950 ramp

primary
#8F9C24
secondary
#675CBF
accent
#42E654
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9C24

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

Preview Lab → · Contrast checker → · Palette generator →

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