#9FB42F#9FB42F

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

Color values

HEX#9FB42F
RGBrgb(159, 180, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(11.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.63, -24.41, 61.12)
CIE-LCHlch(69.63, 65.81, 111.77°)
OKLaboklab(72.98% -0.0729 0.1353)
OKLCHoklch(72.98% 0.154 118.3)
XYZxyz(31.1331, 40.2190, 8.8117)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB42F #442FB4
analogous
#B4872F #9FB42F #5CB42F
triadic
#9FB42F #2F9FB4 #B42F9F
tetradic
#9FB42F #2FB487 #442FB4 #B42F5C
square
#9FB42F #2FB487 #442FB4 #B42F5C
split-complementary
#9FB42F #2F5CB4 #872FB4
monochromatic
#495316 #748322 #9FB42F #BDD14F #CFDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB42F#FFFFFF#000000##000000
##9FB42F1.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)
#C0AA13
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb42f;
/* rgb */ color: rgb(159, 180, 47);
/* oklch */ color: oklch(73.0% 0.154 118.3);
Tailwind
colors: {
  custom: {
    50: '#bfca71',
    500: '#9fb42f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb42f;
$custom-light: #bfca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb42f",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 69.474,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7298,
    "c": 0.15372,
    "h": 118.3
  },
  "luminance": 0.40219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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