#9FB428#9FB428

#9FB428 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 72.9% C 0.158 H 118.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9FB428
RGBrgb(159, 180, 40)
HSLhsl(69, 64%, 43%)
HSVhsv(69, 78%, 71%)
CMYKcmyk(11.7%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.59, -24.73, 63.36)
CIE-LCHlch(69.59, 68.01, 111.32°)
OKLaboklab(72.94% -0.0744 0.1388)
OKLCHoklch(72.94% 0.158 118.2)
XYZxyz(31.0031, 40.1669, 8.1268)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB428 #3D28B4
analogous
#B48328 #9FB428 #59B428
triadic
#9FB428 #289FB4 #B4289F
tetradic
#9FB428 #28B483 #3D28B4 #B42859
square
#9FB428 #28B483 #3D28B4 #B42859
split-complementary
#9FB428 #2859B4 #8328B4
monochromatic
#475012 #73821D #9FB428 #C0D544 #D1E176

Accessibility & contrast

On white

2.32
#9FB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#9FB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB428
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB428#FFFFFF#000000##000000
##9FB4281.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb428;
/* rgb */ color: rgb(159, 180, 40);
/* oklch */ color: oklch(72.9% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#bfca6e',
    500: '#9fb428',
    950: '#000000',
  },
}
SCSS
$custom: #9fb428;
$custom-light: #bfca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb428",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 69,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.15752,
    "h": 118.2
  },
  "luminance": 0.40167
}

Semantic roles & 50–950 ramp

primary
#9FB428
secondary
#7D70C8
accent
#41E75A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB428

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

Preview Lab → · Contrast checker → · Palette generator →

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