#9FB336#9FB336

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

Color values

HEX#9FB336
RGBrgb(159, 179, 54)
HSLhsl(70, 54%, 46%)
HSVhsv(70, 70%, 70%)
CMYKcmyk(11.2%, 0%, 69.8%, 29.8%)
CIE-LABlab(69.38, -23.54, 58.35)
CIE-LCHlch(69.38, 62.92, 111.97°)
OKLaboklab(72.8% -0.0699 0.1306)
OKLCHoklch(72.8% 0.148 118.1)
XYZxyz(31.0847, 39.8777, 9.5489)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB336 #4A36B3
analogous
#B38836 #9FB336 #60B336
triadic
#9FB336 #369FB3 #B3369F
tetradic
#9FB336 #36B388 #4A36B3 #B33660
square
#9FB336 #36B388 #4A36B3 #B33660
split-complementary
#9FB336 #3660B3 #8836B3
monochromatic
#4B551A #758428 #9FB336 #BACD59 #CEDB88

Accessibility & contrast

On white

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

On black

8.98
#9FB336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB336
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB336#FFFFFF#000000##000000
##9FB3361.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA922
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#A8A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb336;
/* rgb */ color: rgb(159, 179, 54);
/* oklch */ color: oklch(72.8% 0.148 118.1);
Tailwind
colors: {
  custom: {
    50: '#bec975',
    500: '#9fb336',
    950: '#000000',
  },
}
SCSS
$custom: #9fb336;
$custom-light: #bec975;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb336",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 69.6,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72799,
    "c": 0.14817,
    "h": 118.1
  },
  "luminance": 0.39877
}

Semantic roles & 50–950 ramp

primary
#9FB336
secondary
#8B80C5
accent
#4BDD62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB336

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

Preview Lab → · Contrast checker → · Palette generator →

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