#9FB330#9FB330

#9FB330 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.152 H 118.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9FB330
RGBrgb(159, 179, 48)
HSLhsl(69, 58%, 45%)
HSVhsv(69, 73%, 70%)
CMYKcmyk(11.2%, 0%, 73.2%, 29.8%)
CIE-LABlab(69.34, -23.87, 60.50)
CIE-LCHlch(69.34, 65.04, 111.53°)
OKLaboklab(72.76% -0.0713 0.1342)
OKLCHoklch(72.76% 0.152 118)
XYZxyz(30.9524, 39.8248, 8.8521)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB330 #4430B3
analogous
#B38530 #9FB330 #5EB330
triadic
#9FB330 #309FB3 #B3309F
tetradic
#9FB330 #30B385 #4430B3 #B3305E
square
#9FB330 #30B385 #4430B3 #B3305E
split-complementary
#9FB330 #305EB3 #8530B3
monochromatic
#495216 #748323 #9FB330 #BDD050 #CFDD80

Accessibility & contrast

On white

2.34
#9FB330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9FB330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB330
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB330#FFFFFF#000000##000000
##9FB3301.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#A9A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb330;
/* rgb */ color: rgb(159, 179, 48);
/* oklch */ color: oklch(72.8% 0.152 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfc972',
    500: '#9fb330',
    950: '#000000',
  },
}
SCSS
$custom: #9fb330;
$custom-light: #bfc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb330",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 69.16,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.15197,
    "h": 118
  },
  "luminance": 0.39825
}

Semantic roles & 50–950 ramp

primary
#9FB330
secondary
#8579C6
accent
#47E15E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB330

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

Preview Lab → · Contrast checker → · Palette generator →

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