#9FB02B#9FB02B

#9FB02B is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.0% C 0.151 H 116.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9FB02B
RGBrgb(159, 176, 43)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(9.7%, 0%, 75.6%, 31%)
CIE-LABlab(68.46, -22.63, 61.36)
CIE-LCHlch(68.46, 65.40, 110.24°)
OKLaboklab(72.03% -0.0684 0.1351)
OKLCHoklch(72.03% 0.151 116.8)
XYZxyz(30.2602, 38.5964, 8.1408)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB02B #3C2BB0
analogous
#B07E2B #9FB02B #5CB02B
triadic
#9FB02B #2B9FB0 #B02B9F
tetradic
#9FB02B #2BB07E #3C2BB0 #B02B5C
square
#9FB02B #2BB07E #3C2BB0 #B02B5C
split-complementary
#9FB02B #2B5CB0 #7E2BB0
monochromatic
#464E13 #737F1F #9FB02B #C0D246 #D1DE78

Accessibility & contrast

On white

2.41
#9FB02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9FB02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB02B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB02B#FFFFFF#000000##000000
##9FB02B1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60A
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#A9A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb02b;
/* rgb */ color: rgb(159, 176, 43);
/* oklch */ color: oklch(72.0% 0.151 116.8);
Tailwind
colors: {
  custom: {
    50: '#bfc76f',
    500: '#9fb02b',
    950: '#000000',
  },
}
SCSS
$custom: #9fb02b;
$custom-light: #bfc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb02b",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 67.669,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72034,
    "c": 0.15144,
    "h": 116.8
  },
  "luminance": 0.38596
}

Semantic roles & 50–950 ramp

primary
#9FB02B
secondary
#7C71C6
accent
#44E458
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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