#9FB422#9FB422

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

Color values

HEX#9FB422
RGBrgb(159, 180, 34)
HSLhsl(69, 68%, 42%)
HSVhsv(69, 81%, 71%)
CMYKcmyk(11.7%, 0%, 81.1%, 29.4%)
CIE-LABlab(69.56, -24.96, 65.06)
CIE-LCHlch(69.56, 69.69, 110.99°)
OKLaboklab(72.91% -0.0755 0.1414)
OKLCHoklch(72.91% 0.16 118.1)
XYZxyz(30.9088, 40.1292, 7.6305)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB422 #3722B4
analogous
#B48022 #9FB422 #56B422
triadic
#9FB422 #229FB4 #B4229F
tetradic
#9FB422 #22B480 #3722B4 #B42256
square
#9FB422 #22B480 #3722B4 #B42256
split-complementary
#9FB422 #2256B4 #8022B4
monochromatic
#444D0F #728118 #9FB422 #C3DA3A #D2E36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB422#FFFFFF#000000##000000
##9FB4221.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)
#BEAB31
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb422;
/* rgb */ color: rgb(159, 180, 34);
/* oklch */ color: oklch(72.9% 0.160 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfca6c',
    500: '#9fb422',
    950: '#000000',
  },
}
SCSS
$custom: #9fb422;
$custom-light: #bfca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb422",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 68.63,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.16032,
    "h": 118.1
  },
  "luminance": 0.40129
}

Semantic roles & 50–950 ramp

primary
#9FB422
secondary
#7668CA
accent
#3DEB56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB422

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

Preview Lab → · Contrast checker → · Palette generator →

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