#9F9724#9F9724

#9F9724 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.129 H 105.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F9724
RGBrgb(159, 151, 36)
HSLhsl(56, 63%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5%, 77.4%, 37.6%)
CIE-LABlab(61.34, -10.09, 57.08)
CIE-LCHlch(61.34, 57.97, 100.02°)
OKLaboklab(66.32% -0.0341 0.1248)
OKLCHoklch(66.32% 0.129 105.3)
XYZxyz(25.6842, 29.6325, 6.0355)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9724 #242C9F
analogous
#9F5A24 #9F9724 #699F24
triadic
#9F9724 #249F97 #97249F
tetradic
#9F9724 #249F5A #242C9F #9F2469
square
#9F9724 #249F5A #242C9F #9F2469
split-complementary
#9F9724 #24699F #5A249F
monochromatic
#3B380D #6D6819 #9F9724 #D0C630 #DBD462

Accessibility & contrast

On white

3.03
#9F9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9F9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9724
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9724#FFFFFF#000000##000000
##9F97241.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59108
Deuteranopia (green-blind)
#A8962D
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9724;
/* rgb */ color: rgb(159, 151, 36);
/* oklch */ color: oklch(66.3% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#bfb569',
    500: '#9f9724',
    950: '#000000',
  },
}
SCSS
$custom: #9f9724;
$custom-light: #bfb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9724",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 56.098,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.12933,
    "h": 105.3
  },
  "luminance": 0.29632
}

Semantic roles & 50–950 ramp

primary
#9F9724
secondary
#5E65C1
accent
#4CE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9724

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

Preview Lab → · Contrast checker → · Palette generator →

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