#9FB52D#9FB52D

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

Color values

HEX#9FB52D
RGBrgb(159, 181, 45)
HSLhsl(70, 60%, 44%)
HSVhsv(70, 75%, 71%)
CMYKcmyk(12.2%, 0%, 75.1%, 29%)
CIE-LABlab(69.90, -24.99, 62.06)
CIE-LCHlch(69.90, 66.90, 111.94°)
OKLaboklab(73.2% -0.0747 0.1369)
OKLCHoklch(73.2% 0.156 118.6)
XYZxyz(31.2963, 40.6084, 8.6716)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52D #432DB5
analogous
#B5872D #9FB52D #5BB52D
triadic
#9FB52D #2D9FB5 #B52D9F
tetradic
#9FB52D #2DB587 #432DB5 #B52D5B
square
#9FB52D #2DB587 #432DB5 #B52D5B
split-complementary
#9FB52D #2D5BB5 #872DB5
monochromatic
#495315 #748421 #9FB52D #BDD34D #CFDF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB52D#FFFFFF#000000##000000
##9FB52D1.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)
#C1AB0D
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb52d;
/* rgb */ color: rgb(159, 181, 45);
/* oklch */ color: oklch(73.2% 0.156 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfcb71',
    500: '#9fb52d',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52d;
$custom-light: #bfcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52d",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 69.706,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73198,
    "c": 0.15601,
    "h": 118.6
  },
  "luminance": 0.40608
}

Semantic roles & 50–950 ramp

primary
#9FB52D
secondary
#8476C7
accent
#44E35E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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