#9FB628#9FB628

#9FB628 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.4% C 0.160 H 118.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#9FB628
RGBrgb(159, 182, 40)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 71%)
CMYKcmyk(12.6%, 0%, 78%, 28.6%)
CIE-LABlab(70.16, -25.71, 63.88)
CIE-LCHlch(70.16, 68.86, 111.92°)
OKLaboklab(73.4% -0.0771 0.14)
OKLCHoklch(73.4% 0.16 118.8)
XYZxyz(31.4097, 40.9803, 8.2624)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB628 #3F28B6
analogous
#B68628 #9FB628 #58B628
triadic
#9FB628 #289FB6 #B6289F
tetradic
#9FB628 #28B686 #3F28B6 #B62858
square
#9FB628 #28B686 #3F28B6 #B62858
split-complementary
#9FB628 #2858B6 #8628B6
monochromatic
#475212 #73841D #9FB628 #BFD645 #D0E177

Accessibility & contrast

On white

2.28
#9FB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#9FB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB628
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB628#FFFFFF#000000##000000
##9FB6281.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#A9AC9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb628;
/* rgb */ color: rgb(159, 182, 40);
/* oklch */ color: oklch(73.4% 0.160 118.8);
Tailwind
colors: {
  custom: {
    50: '#bfcb6e',
    500: '#9fb628',
    950: '#000000',
  },
}
SCSS
$custom: #9fb628;
$custom-light: #bfcb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb628",
  "rgb": {
    "r": 159,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 69.718,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73401,
    "c": 0.15977,
    "h": 118.8
  },
  "luminance": 0.4098
}

Semantic roles & 50–950 ramp

primary
#9FB628
secondary
#7F71C9
accent
#41E75C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB628

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

Preview Lab → · Contrast checker → · Palette generator →

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