#9FB52C#9FB52C

#9FB52C 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#9FB52C
RGBrgb(159, 181, 44)
HSLhsl(70, 61%, 44%)
HSVhsv(70, 76%, 71%)
CMYKcmyk(12.2%, 0%, 75.7%, 29%)
CIE-LABlab(69.90, -25.04, 62.38)
CIE-LCHlch(69.90, 67.22, 111.87°)
OKLaboklab(73.19% -0.0749 0.1375)
OKLCHoklch(73.19% 0.157 118.6)
XYZxyz(31.2773, 40.6008, 8.5714)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52C #422CB5
analogous
#B5872C #9FB52C #5BB52C
triadic
#9FB52C #2C9FB5 #B52C9F
tetradic
#9FB52C #2CB587 #422CB5 #B52C5B
square
#9FB52C #2CB587 #422CB5 #B52C5B
split-complementary
#9FB52C #2C5BB5 #872CB5
monochromatic
#495314 #748420 #9FB52C #BDD34B #CFDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB52C#FFFFFF#000000##000000
##9FB52C1.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)
#C1AB0A
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb52c;
/* rgb */ color: rgb(159, 181, 44);
/* oklch */ color: oklch(73.2% 0.157 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfcb70',
    500: '#9fb52c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52c;
$custom-light: #bfcb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52c",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 69.635,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73192,
    "c": 0.15656,
    "h": 118.6
  },
  "luminance": 0.40601
}

Semantic roles & 50–950 ramp

primary
#9FB52C
secondary
#8275C8
accent
#44E45E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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