#9F9924#9F9924

#9F9924 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.131 H 106.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F9924
RGBrgb(159, 153, 36)
HSLhsl(57, 63%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 3.8%, 77.4%, 37.6%)
CIE-LABlab(61.90, -11.15, 57.59)
CIE-LCHlch(61.90, 58.66, 100.96°)
OKLaboklab(66.77% -0.0371 0.1259)
OKLCHoklch(66.77% 0.131 106.4)
XYZxyz(26.0088, 30.2817, 6.1437)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9924 #242A9F
analogous
#9F5B24 #9F9924 #679F24
triadic
#9F9924 #249F99 #99249F
tetradic
#9F9924 #249F5B #242A9F #9F2467
square
#9F9924 #249F5B #242A9F #9F2467
split-complementary
#9F9924 #24679F #5B249F
monochromatic
#3B390D #6D6919 #9F9924 #D0C830 #DBD662

Accessibility & contrast

On white

2.98
#9F9924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#9F9924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9924
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9924#FFFFFF#000000##000000
##9F99241.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79306
Deuteranopia (green-blind)
#A9982D
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9924;
/* rgb */ color: rgb(159, 153, 36);
/* oklch */ color: oklch(66.8% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#bfb669',
    500: '#9f9924',
    950: '#000000',
  },
}
SCSS
$custom: #9f9924;
$custom-light: #bfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9924",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 57.073,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6677,
    "c": 0.13119,
    "h": 106.4
  },
  "luminance": 0.30281
}

Semantic roles & 50–950 ramp

primary
#9F9924
secondary
#5E63C1
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9924

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

Preview Lab → · Contrast checker → · Palette generator →

#9F9924 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva