#9FB02A#9FB02A

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

Color values

HEX#9FB02A
RGBrgb(159, 176, 42)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(9.7%, 0%, 76.1%, 31%)
CIE-LABlab(68.45, -22.67, 61.68)
CIE-LCHlch(68.45, 65.72, 110.18°)
OKLaboklab(72.03% -0.0686 0.1356)
OKLCHoklch(72.03% 0.152 116.8)
XYZxyz(30.2421, 38.5892, 8.0454)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB02A #3B2AB0
analogous
#B07E2A #9FB02A #5CB02A
triadic
#9FB02A #2A9FB0 #B02A9F
tetradic
#9FB02A #2AB07E #3B2AB0 #B02A5C
square
#9FB02A #2AB07E #3B2AB0 #B02A5C
split-complementary
#9FB02A #2A5CB0 #7E2AB0
monochromatic
#464D12 #727F1E #9FB02A #C1D345 #D1DE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB02A#FFFFFF#000000##000000
##9FB02A1.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)
#BCA607
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A9A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb02a;
/* rgb */ color: rgb(159, 176, 42);
/* oklch */ color: oklch(72.0% 0.152 116.8);
Tailwind
colors: {
  custom: {
    50: '#bfc76f',
    500: '#9fb02a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb02a;
$custom-light: #bfc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb02a",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 67.612,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.15199,
    "h": 116.8
  },
  "luminance": 0.38589
}

Semantic roles & 50–950 ramp

primary
#9FB02A
secondary
#7B70C6
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB02A

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

Preview Lab → · Contrast checker → · Palette generator →

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