#9FA524#9FA524

#9FA524 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.143 H 112.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9FA524
RGBrgb(159, 165, 36)
HSLhsl(63, 64%, 39%)
HSVhsv(63, 78%, 65%)
CMYKcmyk(3.6%, 0%, 78.2%, 35.3%)
CIE-LABlab(65.29, -17.39, 60.68)
CIE-LCHlch(65.29, 63.12, 105.99°)
OKLaboklab(69.48% -0.0544 0.1324)
OKLCHoklch(69.48% 0.143 112.4)
XYZxyz(28.0726, 34.4093, 6.8316)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA524 #2A24A5
analogous
#A56B24 #9FA524 #5EA524
triadic
#9FA524 #249FA5 #A5249F
tetradic
#9FA524 #24A56B #2A24A5 #A5245E
square
#9FA524 #24A56B #2A24A5 #A5245E
split-complementary
#9FA524 #245EA5 #6B24A5
monochromatic
#3E410E #6F7319 #9FA524 #CBD334 #D8DE66

Accessibility & contrast

On white

2.66
#9FA524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9FA524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA524
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA524#FFFFFF#000000##000000
##9FA5241.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#AA9B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa524;
/* rgb */ color: rgb(159, 165, 36);
/* oklch */ color: oklch(69.5% 0.143 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfbf6a',
    500: '#9fa524',
    950: '#000000',
  },
}
SCSS
$custom: #9fa524;
$custom-light: #bfbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa524",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 62.791,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.14318,
    "h": 112.4
  },
  "luminance": 0.34409
}

Semantic roles & 50–950 ramp

primary
#9FA524
secondary
#6662C3
accent
#41E748
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA524

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

Preview Lab → · Contrast checker → · Palette generator →

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