#9FB42C#9FB42C

#9FB42C is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.155 H 118.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#9FB42C
RGBrgb(159, 180, 44)
HSLhsl(69, 61%, 44%)
HSVhsv(69, 76%, 71%)
CMYKcmyk(11.7%, 0%, 75.6%, 29.4%)
CIE-LABlab(69.61, -24.55, 62.11)
CIE-LCHlch(69.61, 66.79, 111.57°)
OKLaboklab(72.96% -0.0736 0.1369)
OKLCHoklch(72.96% 0.155 118.3)
XYZxyz(31.0747, 40.1956, 8.5039)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB42C #412CB4
analogous
#B4852C #9FB42C #5BB42C
triadic
#9FB42C #2C9FB4 #B42C9F
tetradic
#9FB42C #2CB485 #412CB4 #B42C5B
square
#9FB42C #2CB485 #412CB4 #B42C5B
split-complementary
#9FB42C #2C5BB4 #852CB4
monochromatic
#485214 #748320 #9FB42C #BED34A #D0DF7C

Accessibility & contrast

On white

2.32
#9FB42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#9FB42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB42C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB42C#FFFFFF#000000##000000
##9FB42C1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0B
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb42c;
/* rgb */ color: rgb(159, 180, 44);
/* oklch */ color: oklch(73.0% 0.155 118.3);
Tailwind
colors: {
  custom: {
    50: '#bfca70',
    500: '#9fb42c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb42c;
$custom-light: #bfca70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb42c",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 69.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72962,
    "c": 0.15542,
    "h": 118.3
  },
  "luminance": 0.40195
}

Semantic roles & 50–950 ramp

primary
#9FB42C
secondary
#8175C7
accent
#44E45D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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