#9FB02F#9FB02F

#9FB02F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.149 H 116.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#9FB02F
RGBrgb(159, 176, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 69%)
CMYKcmyk(9.7%, 0%, 73.3%, 31%)
CIE-LABlab(68.48, -22.44, 60.02)
CIE-LCHlch(68.48, 64.08, 110.50°)
OKLaboklab(72.06% -0.0675 0.133)
OKLCHoklch(72.06% 0.149 116.9)
XYZxyz(30.3372, 38.6272, 8.5464)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB02F #402FB0
analogous
#B0802F #9FB02F #5EB02F
triadic
#9FB02F #2F9FB0 #B02F9F
tetradic
#9FB02F #2FB080 #402FB0 #B02F5E
square
#9FB02F #2FB080 #402FB0 #B02F5E
split-complementary
#9FB02F #2F5EB0 #802FB0
monochromatic
#484F15 #738022 #9FB02F #BECF4D #D0DC7D

Accessibility & contrast

On white

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

On black

8.73
#9FB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB02F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB02F#FFFFFF#000000##000000
##9FB02F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb02f;
/* rgb */ color: rgb(159, 176, 47);
/* oklch */ color: oklch(72.1% 0.149 116.9);
Tailwind
colors: {
  custom: {
    50: '#bfc771',
    500: '#9fb02f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb02f;
$custom-light: #bfc771;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb02f",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 67.907,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7206,
    "c": 0.14914,
    "h": 116.9
  },
  "luminance": 0.38627
}

Semantic roles & 50–950 ramp

primary
#9FB02F
secondary
#8076C5
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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