#8F9724#8F9724

#8F9724 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.133 H 113.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F9724
RGBrgb(143, 151, 36)
HSLhsl(64, 61%, 37%)
HSVhsv(64, 76%, 59%)
CMYKcmyk(5.3%, 0%, 76.2%, 40.8%)
CIE-LABlab(59.98, -17.22, 55.33)
CIE-LCHlch(59.98, 57.95, 107.29°)
OKLaboklab(64.91% -0.0531 0.1217)
OKLCHoklch(64.91% 0.133 113.6)
XYZxyz(22.7134, 28.1007, 5.8962)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9724 #2C2497
analogous
#976624 #8F9724 #569724
triadic
#8F9724 #248F97 #97248F
tetradic
#8F9724 #249766 #2C2497 #972456
square
#8F9724 #249766 #2C2497 #972456
split-complementary
#8F9724 #245697 #662497
monochromatic
#31340C #606618 #8F9724 #BEC830 #D0D85D

Accessibility & contrast

On white

3.17
#8F9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8F9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9724
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9724#FFFFFF#000000##000000
##8F97241.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F09
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9724;
/* rgb */ color: rgb(143, 151, 36);
/* oklch */ color: oklch(64.9% 0.133 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b568',
    500: '#8f9724',
    950: '#000000',
  },
}
SCSS
$custom: #8f9724;
$custom-light: #b3b568;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9724",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 64.174,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.13276,
    "h": 113.6
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#8F9724
secondary
#615ABD
accent
#43E54E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9724

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

Preview Lab → · Contrast checker → · Palette generator →

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