#9FA924#9FA924

#9FA924 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.147 H 114.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9FA924
RGBrgb(159, 169, 36)
HSLhsl(65, 65%, 40%)
HSVhsv(65, 79%, 66%)
CMYKcmyk(5.9%, 0%, 78.7%, 33.7%)
CIE-LABlab(66.42, -19.42, 61.70)
CIE-LCHlch(66.42, 64.69, 107.47°)
OKLaboklab(70.39% -0.0601 0.1346)
OKLCHoklch(70.39% 0.147 114.1)
XYZxyz(28.8054, 35.8748, 7.0758)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA924 #2E24A9
analogous
#A97024 #9FA924 #5DA924
triadic
#9FA924 #249FA9 #A9249F
tetradic
#9FA924 #24A970 #2E24A9 #A9245D
square
#9FA924 #24A970 #2E24A9 #A9245D
split-complementary
#9FA924 #245DA9 #7024A9
monochromatic
#40440F #707719 #9FA924 #C8D436 #D6DF68

Accessibility & contrast

On white

2.57
#9FA924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9FA924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA924
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA924#FFFFFF#000000##000000
##9FA9241.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa924;
/* rgb */ color: rgb(159, 169, 36);
/* oklch */ color: oklch(70.4% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26b',
    500: '#9fa924',
    950: '#000000',
  },
}
SCSS
$custom: #9fa924;
$custom-light: #bfc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa924",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 36
  },
  "hsl": {
    "h": 64.511,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.14741,
    "h": 114.1
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

primary
#9FA924
secondary
#6B64C5
accent
#40E84D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA924

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

Preview Lab → · Contrast checker → · Palette generator →

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