#9FB22D#9FB22D

#9FB22D is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.153 H 117.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9FB22D
RGBrgb(159, 178, 45)
HSLhsl(69, 60%, 44%)
HSVhsv(69, 75%, 70%)
CMYKcmyk(10.7%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.04, -23.52, 61.24)
CIE-LCHlch(69.04, 65.61, 111.01°)
OKLaboklab(72.51% -0.0707 0.1352)
OKLCHoklch(72.51% 0.153 117.6)
XYZxyz(30.6929, 39.4015, 8.4705)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22D #402DB2
analogous
#B2822D #9FB22D #5CB22D
triadic
#9FB22D #2D9FB2 #B22D9F
tetradic
#9FB22D #2DB282 #402DB2 #B22D5C
square
#9FB22D #2DB282 #402DB2 #B22D5C
split-complementary
#9FB22D #2D5CB2 #822DB2
monochromatic
#485014 #738121 #9FB22D #BED14B #D0DE7C

Accessibility & contrast

On white

2.36
#9FB22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9FB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB22D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB22D#FFFFFF#000000##000000
##9FB22D1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80F
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb22d;
/* rgb */ color: rgb(159, 178, 45);
/* oklch */ color: oklch(72.5% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc970',
    500: '#9fb22d',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22d;
$custom-light: #bfc970;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22d",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 68.571,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.15258,
    "h": 117.6
  },
  "luminance": 0.39401
}

Semantic roles & 50–950 ramp

primary
#9FB22D
secondary
#8075C6
accent
#45E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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