#9FB426#9FB426

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

Color values

HEX#9FB426
RGBrgb(159, 180, 38)
HSLhsl(69, 65%, 43%)
HSVhsv(69, 79%, 71%)
CMYKcmyk(11.7%, 0%, 78.9%, 29.4%)
CIE-LABlab(69.58, -24.81, 63.95)
CIE-LCHlch(69.58, 68.59, 111.21°)
OKLaboklab(72.93% -0.0748 0.1398)
OKLCHoklch(72.93% 0.158 118.1)
XYZxyz(30.9699, 40.1537, 7.9523)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB426 #3B26B4
analogous
#B48226 #9FB426 #58B426
triadic
#9FB426 #269FB4 #B4269F
tetradic
#9FB426 #26B482 #3B26B4 #B42658
square
#9FB426 #26B482 #3B26B4 #B42658
split-complementary
#9FB426 #2658B4 #8226B4
monochromatic
#464F11 #72811B #9FB426 #C1D740 #D1E173

Accessibility & contrast

On white

2.33
#9FB426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB426#FFFFFF#000000##000000
##9FB4261.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb426;
/* rgb */ color: rgb(159, 180, 38);
/* oklch */ color: oklch(72.9% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfca6d',
    500: '#9fb426',
    950: '#000000',
  },
}
SCSS
$custom: #9fb426;
$custom-light: #bfca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb426",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 38
  },
  "hsl": {
    "h": 68.873,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72928,
    "c": 0.15849,
    "h": 118.1
  },
  "luminance": 0.40153
}

Semantic roles & 50–950 ramp

primary
#9FB426
secondary
#7B6DC9
accent
#40E859
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB426

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

Preview Lab → · Contrast checker → · Palette generator →

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