#9FB52B#9FB52B

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

Color values

HEX#9FB52B
RGBrgb(159, 181, 43)
HSLhsl(70, 62%, 44%)
HSVhsv(70, 76%, 71%)
CMYKcmyk(12.2%, 0%, 76.2%, 29%)
CIE-LABlab(69.89, -25.09, 62.70)
CIE-LCHlch(69.89, 67.53, 111.81°)
OKLaboklab(73.19% -0.0751 0.138)
OKLCHoklch(73.19% 0.157 118.6)
XYZxyz(31.2587, 40.5934, 8.4736)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52B #412BB5
analogous
#B5862B #9FB52B #5AB52B
triadic
#9FB52B #2B9FB5 #B52B9F
tetradic
#9FB52B #2BB586 #412BB5 #B52B5A
square
#9FB52B #2BB586 #412BB5 #B52B5A
split-complementary
#9FB52B #2B5AB5 #862BB5
monochromatic
#485214 #74841F #9FB52B #BED449 #D0E07B

Accessibility & contrast

On white

2.30
#9FB52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#9FB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB52B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB52B#FFFFFF#000000##000000
##9FB52B1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb52b;
/* rgb */ color: rgb(159, 181, 43);
/* oklch */ color: oklch(73.2% 0.157 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfcb70',
    500: '#9fb52b',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52b;
$custom-light: #bfcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52b",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 69.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73186,
    "c": 0.1571,
    "h": 118.6
  },
  "luminance": 0.40593
}

Semantic roles & 50–950 ramp

primary
#9FB52B
secondary
#8174C8
accent
#43E55D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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