#9FB040#9FB040

#9FB040 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.137 H 117.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#9FB040
RGBrgb(159, 176, 64)
HSLhsl(69, 47%, 47%)
HSVhsv(69, 64%, 69%)
CMYKcmyk(9.7%, 0%, 63.6%, 31%)
CIE-LABlab(68.60, -21.41, 53.52)
CIE-LCHlch(68.60, 57.64, 111.81°)
OKLaboklab(72.19% -0.063 0.122)
OKLCHoklch(72.19% 0.137 117.3)
XYZxyz(30.7494, 38.7921, 10.7172)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB040 #5140B0
analogous
#B08940 #9FB040 #67B040
triadic
#9FB040 #409FB0 #B0409F
tetradic
#9FB040 #40B089 #5140B0 #B04067
square
#9FB040 #40B089 #5140B0 #B04067
split-complementary
#9FB040 #4067B0 #8940B0
monochromatic
#4E561F #768330 #9FB040 #B9C766 #CDD893

Accessibility & contrast

On white

2.40
#9FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#9FB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB040
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB040#FFFFFF#000000##000000
##9FB0401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#A8A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb040;
/* rgb */ color: rgb(159, 176, 64);
/* oklch */ color: oklch(72.2% 0.137 117.3);
Tailwind
colors: {
  custom: {
    50: '#bec77a',
    500: '#9fb040',
    950: '#000000',
  },
}
SCSS
$custom: #9fb040;
$custom-light: #bec77a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb040",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 69.107,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72194,
    "c": 0.1373,
    "h": 117.3
  },
  "luminance": 0.38792
}

Semantic roles & 50–950 ramp

primary
#9FB040
secondary
#9289C3
accent
#51D666
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB040

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

Preview Lab → · Contrast checker → · Palette generator →

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