#9FB52F#9FB52F

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

Color values

HEX#9FB52F
RGBrgb(159, 181, 47)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 71%)
CMYKcmyk(12.2%, 0%, 74%, 29%)
CIE-LABlab(69.91, -24.90, 61.39)
CIE-LCHlch(69.91, 66.25, 112.07°)
OKLaboklab(73.21% -0.0743 0.1359)
OKLCHoklch(73.21% 0.155 118.7)
XYZxyz(31.3357, 40.6242, 8.8792)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52F #452FB5
analogous
#B5882F #9FB52F #5CB52F
triadic
#9FB52F #2F9FB5 #B52F9F
tetradic
#9FB52F #2FB588 #452FB5 #B52F5C
square
#9FB52F #2FB588 #452FB5 #B52F5C
split-complementary
#9FB52F #2F5CB5 #882FB5
monochromatic
#4A5416 #748422 #9FB52F #BCD150 #CFDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB52F#FFFFFF#000000##000000
##9FB52F1.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)
#C1AB13
Deuteranopia (green-blind)
#BFAB3B
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb52f;
/* rgb */ color: rgb(159, 181, 47);
/* oklch */ color: oklch(73.2% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#bfcb71',
    500: '#9fb52f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52f;
$custom-light: #bfcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52f",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 69.851,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73211,
    "c": 0.15487,
    "h": 118.7
  },
  "luminance": 0.40624
}

Semantic roles & 50–950 ramp

primary
#9FB52F
secondary
#8679C7
accent
#46E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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