#9FB022#9FB022

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

Color values

HEX#9FB022
RGBrgb(159, 176, 34)
HSLhsl(67, 68%, 41%)
HSVhsv(67, 81%, 69%)
CMYKcmyk(9.7%, 0%, 80.7%, 31%)
CIE-LABlab(68.41, -23.00, 64.05)
CIE-LCHlch(68.41, 68.06, 109.75°)
OKLaboklab(71.99% -0.0701 0.1393)
OKLCHoklch(71.99% 0.156 116.7)
XYZxyz(30.1130, 38.5375, 7.3652)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB022 #3322B0
analogous
#B07A22 #9FB022 #58B022
triadic
#9FB022 #229FB0 #B0229F
tetradic
#9FB022 #22B07A #3322B0 #B02258
square
#9FB022 #22B07A #3322B0 #B02258
split-complementary
#9FB022 #2258B0 #7A22B0
monochromatic
#42490E #717D18 #9FB022 #C5D837 #D4E26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB022#FFFFFF#000000##000000
##9FB0221.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)
#BDA600
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#A9A696
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb022;
/* rgb */ color: rgb(159, 176, 34);
/* oklch */ color: oklch(72.0% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#bfc76b',
    500: '#9fb022',
    950: '#000000',
  },
}
SCSS
$custom: #9fb022;
$custom-light: #bfc76b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb022",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 34
  },
  "hsl": {
    "h": 67.183,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71986,
    "c": 0.15592,
    "h": 116.7
  },
  "luminance": 0.38537
}

Semantic roles & 50–950 ramp

primary
#9FB022
secondary
#7166C8
accent
#3DEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB022

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

Preview Lab → · Contrast checker → · Palette generator →

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