#9FB52A#9FB52A

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

Color values

HEX#9FB52A
RGBrgb(159, 181, 42)
HSLhsl(69, 62%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(12.2%, 0%, 76.8%, 29%)
CIE-LABlab(69.89, -25.13, 63.01)
CIE-LCHlch(69.89, 67.84, 111.74°)
OKLaboklab(73.18% -0.0753 0.1385)
OKLCHoklch(73.18% 0.158 118.6)
XYZxyz(31.2406, 40.5861, 8.3782)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52A #402AB5
analogous
#B5852A #9FB52A #59B52A
triadic
#9FB52A #2A9FB5 #B52A9F
tetradic
#9FB52A #2AB585 #402AB5 #B52A59
square
#9FB52A #2AB585 #402AB5 #B52A59
split-complementary
#9FB52A #2A59B5 #852AB5
monochromatic
#485213 #73831E #9FB52A #BED448 #D0E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB52A#FFFFFF#000000##000000
##9FB52A1.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)
#C1AB03
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb52a;
/* rgb */ color: rgb(159, 181, 42);
/* oklch */ color: oklch(73.2% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfcb6f',
    500: '#9fb52a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52a;
$custom-light: #bfcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52a",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 69.496,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73181,
    "c": 0.15763,
    "h": 118.6
  },
  "luminance": 0.40586
}

Semantic roles & 50–950 ramp

primary
#9FB52A
secondary
#8073C8
accent
#42E55C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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