#9FB42E#9FB42E

#9FB42E 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#9FB42E
RGBrgb(159, 180, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(11.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.62, -24.46, 61.46)
CIE-LCHlch(69.62, 66.14, 111.70°)
OKLaboklab(72.97% -0.0732 0.1359)
OKLCHoklch(72.97% 0.154 118.3)
XYZxyz(31.1132, 40.2110, 8.7067)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB42E #432EB4
analogous
#B4862E #9FB42E #5CB42E
triadic
#9FB42E #2E9FB4 #B42E9F
tetradic
#9FB42E #2EB486 #432EB4 #B42E5C
square
#9FB42E #2EB486 #432EB4 #B42E5C
split-complementary
#9FB42E #2E5CB4 #862EB4
monochromatic
#495315 #748322 #9FB42E #BDD24E #CFDE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB42E#FFFFFF#000000##000000
##9FB42E1.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)
#C0AA11
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb42e;
/* rgb */ color: rgb(159, 180, 46);
/* oklch */ color: oklch(73.0% 0.154 118.3);
Tailwind
colors: {
  custom: {
    50: '#bfca71',
    500: '#9fb42e',
    950: '#000000',
  },
}
SCSS
$custom: #9fb42e;
$custom-light: #bfca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb42e",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 69.403,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.1543,
    "h": 118.3
  },
  "luminance": 0.40211
}

Semantic roles & 50–950 ramp

primary
#9FB42E
secondary
#8477C7
accent
#45E25E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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