#9F9824#9F9824

#9F9824 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.130 H 105.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F9824
RGBrgb(159, 152, 36)
HSLhsl(57, 63%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 4.4%, 77.4%, 37.6%)
CIE-LABlab(61.62, -10.62, 57.34)
CIE-LCHlch(61.62, 58.31, 100.49°)
OKLaboklab(66.55% -0.0356 0.1253)
OKLCHoklch(66.55% 0.13 105.9)
XYZxyz(25.8458, 29.9558, 6.0893)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9824 #242B9F
analogous
#9F5A24 #9F9824 #689F24
triadic
#9F9824 #249F98 #98249F
tetradic
#9F9824 #249F5A #242B9F #9F2468
square
#9F9824 #249F5A #242B9F #9F2468
split-complementary
#9F9824 #24689F #5A249F
monochromatic
#3B390D #6D6819 #9F9824 #D0C730 #DBD562

Accessibility & contrast

On white

3.00
#9F9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#9F9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9824
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9824#FFFFFF#000000##000000
##9F98241.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69207
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f9824;
/* rgb */ color: rgb(159, 152, 36);
/* oklch */ color: oklch(66.5% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#bfb669',
    500: '#9f9824',
    950: '#000000',
  },
}
SCSS
$custom: #9f9824;
$custom-light: #bfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9824",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 56.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66547,
    "c": 0.13026,
    "h": 105.9
  },
  "luminance": 0.29955
}

Semantic roles & 50–950 ramp

primary
#9F9824
secondary
#5E64C1
accent
#4BE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9824

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

Preview Lab → · Contrast checker → · Palette generator →

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