#9FB524#9FB524

#9FB524 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.1% C 0.161 H 118.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#9FB524
RGBrgb(159, 181, 36)
HSLhsl(69, 67%, 43%)
HSVhsv(69, 80%, 71%)
CMYKcmyk(12.2%, 0%, 80.1%, 29%)
CIE-LABlab(69.86, -25.38, 64.77)
CIE-LCHlch(69.86, 69.57, 111.39°)
OKLaboklab(73.15% -0.0765 0.1412)
OKLCHoklch(73.15% 0.161 118.4)
XYZxyz(31.1411, 40.5463, 7.8544)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB524 #3A24B5
analogous
#B58224 #9FB524 #57B524
triadic
#9FB524 #249FB5 #B5249F
tetradic
#9FB524 #24B582 #3A24B5 #B52457
square
#9FB524 #24B582 #3A24B5 #B52457
split-complementary
#9FB524 #2457B5 #8224B5
monochromatic
#454F10 #72821A #9FB524 #C1D93E #D1E371

Accessibility & contrast

On white

2.31
#9FB524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#9FB524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB524
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB524#FFFFFF#000000##000000
##9FB5241.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb524;
/* rgb */ color: rgb(159, 181, 36);
/* oklch */ color: oklch(73.1% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#bfcb6d',
    500: '#9fb524',
    950: '#000000',
  },
}
SCSS
$custom: #9fb524;
$custom-light: #bfcb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb524",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 36
  },
  "hsl": {
    "h": 69.103,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73149,
    "c": 0.16054,
    "h": 118.4
  },
  "luminance": 0.40546
}

Semantic roles & 50–950 ramp

primary
#9FB524
secondary
#7A6BC9
accent
#3EEA58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB524

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

Preview Lab → · Contrast checker → · Palette generator →

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