#9F9424#9F9424

#9F9424 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.7% C 0.127 H 103.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F9424
RGBrgb(159, 148, 36)
HSLhsl(55, 63%, 38%)
HSVhsv(55, 77%, 62%)
CMYKcmyk(0%, 6.9%, 77.4%, 37.6%)
CIE-LABlab(60.50, -8.49, 56.31)
CIE-LCHlch(60.50, 56.95, 98.57°)
OKLaboklab(65.66% -0.0296 0.1231)
OKLCHoklch(65.66% 0.127 103.5)
XYZxyz(25.2076, 28.6792, 5.8766)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9424 #242F9F
analogous
#9F5624 #9F9424 #6C9F24
triadic
#9F9424 #249F94 #94249F
tetradic
#9F9424 #249F56 #242F9F #9F246C
square
#9F9424 #249F56 #242F9F #9F246C
split-complementary
#9F9424 #246C9F #56249F
monochromatic
#3B370D #6D6619 #9F9424 #D0C230 #DBD162

Accessibility & contrast

On white

3.12
#9F9424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9F9424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9424
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9424#FFFFFF#000000##000000
##9F94241.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0A
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#AB897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9424;
/* rgb */ color: rgb(159, 148, 36);
/* oklch */ color: oklch(65.7% 0.127 103.5);
Tailwind
colors: {
  custom: {
    50: '#bfb368',
    500: '#9f9424',
    950: '#000000',
  },
}
SCSS
$custom: #9f9424;
$custom-light: #bfb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9424",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 36
  },
  "hsl": {
    "h": 54.634,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.12662,
    "h": 103.5
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#9F9424
secondary
#5E67C1
accent
#50E642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9424

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

Preview Lab → · Contrast checker → · Palette generator →

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