#9FB028#9FB028

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

Color values

HEX#9FB028
RGBrgb(159, 176, 40)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(9.7%, 0%, 77.3%, 31%)
CIE-LABlab(68.44, -22.76, 62.31)
CIE-LCHlch(68.44, 66.34, 110.07°)
OKLaboklab(72.02% -0.069 0.1366)
OKLCHoklch(72.02% 0.153 116.8)
XYZxyz(30.2072, 38.5752, 7.8615)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB028 #3928B0
analogous
#B07D28 #9FB028 #5BB028
triadic
#9FB028 #289FB0 #B0289F
tetradic
#9FB028 #28B07D #3928B0 #B0285B
square
#9FB028 #28B07D #3928B0 #B0285B
split-complementary
#9FB028 #285BB0 #7D28B0
monochromatic
#454C11 #727E1D #9FB028 #C2D441 #D2DF73

Accessibility & contrast

On white

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

On black

8.71
#9FB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB028
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB028#FFFFFF#000000##000000
##9FB0281.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb028;
/* rgb */ color: rgb(159, 176, 40);
/* oklch */ color: oklch(72.0% 0.153 116.8);
Tailwind
colors: {
  custom: {
    50: '#bfc76e',
    500: '#9fb028',
    950: '#000000',
  },
}
SCSS
$custom: #9fb028;
$custom-light: #bfc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb028",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 67.5,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.15303,
    "h": 116.8
  },
  "luminance": 0.38575
}

Semantic roles & 50–950 ramp

primary
#9FB028
secondary
#786DC6
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB028

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

Preview Lab → · Contrast checker → · Palette generator →

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