#9FB525#9FB525

#9FB525 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.2% C 0.160 H 118.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#9FB525
RGBrgb(159, 181, 37)
HSLhsl(69, 66%, 43%)
HSVhsv(69, 80%, 71%)
CMYKcmyk(12.2%, 0%, 79.6%, 29%)
CIE-LABlab(69.86, -25.34, 64.49)
CIE-LCHlch(69.86, 69.29, 111.45°)
OKLaboklab(73.15% -0.0763 0.1407)
OKLCHoklch(73.15% 0.16 118.5)
XYZxyz(31.1566, 40.5525, 7.9360)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB525 #3B25B5
analogous
#B58325 #9FB525 #57B525
triadic
#9FB525 #259FB5 #B5259F
tetradic
#9FB525 #25B583 #3B25B5 #B52557
square
#9FB525 #25B583 #3B25B5 #B52557
split-complementary
#9FB525 #2557B5 #8325B5
monochromatic
#464F10 #72821B #9FB525 #C1D83F #D1E272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB525#FFFFFF#000000##000000
##9FB5251.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: #9fb525;
/* rgb */ color: rgb(159, 181, 37);
/* oklch */ color: oklch(73.2% 0.160 118.5);
Tailwind
colors: {
  custom: {
    50: '#bfcb6d',
    500: '#9fb525',
    950: '#000000',
  },
}
SCSS
$custom: #9fb525;
$custom-light: #bfcb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb525",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 69.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73154,
    "c": 0.16009,
    "h": 118.5
  },
  "luminance": 0.40552
}

Semantic roles & 50–950 ramp

primary
#9FB525
secondary
#7B6DC9
accent
#3FE959
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB525

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

Preview Lab → · Contrast checker → · Palette generator →

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