#9FB52E#9FB52E

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

Color values

HEX#9FB52E
RGBrgb(159, 181, 46)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 75%, 71%)
CMYKcmyk(12.2%, 0%, 74.6%, 29%)
CIE-LABlab(69.91, -24.95, 61.73)
CIE-LCHlch(69.91, 66.58, 112.01°)
OKLaboklab(73.21% -0.0745 0.1364)
OKLCHoklch(73.21% 0.155 118.6)
XYZxyz(31.3158, 40.6162, 8.7742)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB52E #442EB5
analogous
#B5882E #9FB52E #5CB52E
triadic
#9FB52E #2E9FB5 #B52E9F
tetradic
#9FB52E #2EB588 #442EB5 #B52E5C
square
#9FB52E #2EB588 #442EB5 #B52E5C
split-complementary
#9FB52E #2E5CB5 #882EB5
monochromatic
#495315 #748422 #9FB52E #BDD24E #CFDE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB52E#FFFFFF#000000##000000
##9FB52E1.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)
#C1AB10
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#A9AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb52e;
/* rgb */ color: rgb(159, 181, 46);
/* oklch */ color: oklch(73.2% 0.155 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfcb71',
    500: '#9fb52e',
    950: '#000000',
  },
}
SCSS
$custom: #9fb52e;
$custom-light: #bfcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb52e",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 69.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.15544,
    "h": 118.6
  },
  "luminance": 0.40616
}

Semantic roles & 50–950 ramp

primary
#9FB52E
secondary
#8578C7
accent
#45E35F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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