#9FB335#9FB335

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

Color values

HEX#9FB335
RGBrgb(159, 179, 53)
HSLhsl(70, 54%, 45%)
HSVhsv(70, 70%, 70%)
CMYKcmyk(11.2%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.38, -23.60, 58.72)
CIE-LCHlch(69.38, 63.29, 111.89°)
OKLaboklab(72.79% -0.0702 0.1313)
OKLCHoklch(72.79% 0.149 118.1)
XYZxyz(31.0614, 39.8685, 9.4265)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB335 #4935B3
analogous
#B38835 #9FB335 #60B335
triadic
#9FB335 #359FB3 #B3359F
tetradic
#9FB335 #35B388 #4935B3 #B33560
square
#9FB335 #35B388 #4935B3 #B33560
split-complementary
#9FB335 #3560B3 #8835B3
monochromatic
#4B5519 #758427 #9FB335 #BBCD58 #CEDB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB335#FFFFFF#000000##000000
##9FB3351.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)
#BFA920
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#A9A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb335;
/* rgb */ color: rgb(159, 179, 53);
/* oklch */ color: oklch(72.8% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfc974',
    500: '#9fb335',
    950: '#000000',
  },
}
SCSS
$custom: #9fb335;
$custom-light: #bfc974;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb335",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 69.524,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.14884,
    "h": 118.1
  },
  "luminance": 0.39868
}

Semantic roles & 50–950 ramp

primary
#9FB335
secondary
#8A7FC5
accent
#4ADE62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB335

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

Preview Lab → · Contrast checker → · Palette generator →

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