#9FB333#9FB333

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

Color values

HEX#9FB333
RGBrgb(159, 179, 51)
HSLhsl(69, 56%, 45%)
HSVhsv(69, 72%, 70%)
CMYKcmyk(11.2%, 0%, 71.5%, 29.8%)
CIE-LABlab(69.36, -23.71, 59.45)
CIE-LCHlch(69.36, 64.00, 111.74°)
OKLaboklab(72.78% -0.0706 0.1325)
OKLCHoklch(72.78% 0.15 118.1)
XYZxyz(31.0164, 39.8504, 9.1893)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB333 #4733B3
analogous
#B38733 #9FB333 #5FB333
triadic
#9FB333 #339FB3 #B3339F
tetradic
#9FB333 #33B387 #4733B3 #B3335F
square
#9FB333 #33B387 #4733B3 #B3335F
split-complementary
#9FB333 #335FB3 #8733B3
monochromatic
#4A5418 #758325 #9FB333 #BBCE55 #CEDC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB333#FFFFFF#000000##000000
##9FB3331.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)
#BFA91C
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#A9A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb333;
/* rgb */ color: rgb(159, 179, 51);
/* oklch */ color: oklch(72.8% 0.150 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfc973',
    500: '#9fb333',
    950: '#000000',
  },
}
SCSS
$custom: #9fb333;
$custom-light: #bfc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb333",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 69.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72777,
    "c": 0.15013,
    "h": 118.1
  },
  "luminance": 0.3985
}

Semantic roles & 50–950 ramp

primary
#9FB333
secondary
#887CC6
accent
#49DF60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB333

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

Preview Lab → · Contrast checker → · Palette generator →

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