#9FB122#9FB122

#9FB122 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.157 H 117.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9FB122
RGBrgb(159, 177, 34)
HSLhsl(68, 68%, 41%)
HSVhsv(68, 81%, 69%)
CMYKcmyk(10.2%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.70, -23.49, 64.31)
CIE-LCHlch(68.70, 68.46, 110.07°)
OKLaboklab(72.22% -0.0714 0.1398)
OKLCHoklch(72.22% 0.157 117.1)
XYZxyz(30.3098, 38.9311, 7.4308)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB122 #3422B1
analogous
#B17C22 #9FB122 #58B122
triadic
#9FB122 #229FB1 #B1229F
tetradic
#9FB122 #22B17C #3422B1 #B12258
square
#9FB122 #22B17C #3422B1 #B12258
split-complementary
#9FB122 #2258B1 #7C22B1
monochromatic
#434A0E #717E18 #9FB122 #C4D938 #D3E36B

Accessibility & contrast

On white

2.39
#9FB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9FB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB122
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB122#FFFFFF#000000##000000
##9FB1221.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#A9A797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb122;
/* rgb */ color: rgb(159, 177, 34);
/* oklch */ color: oklch(72.2% 0.157 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc86b',
    500: '#9fb122',
    950: '#000000',
  },
}
SCSS
$custom: #9fb122;
$custom-light: #bfc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb122",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 67.552,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72217,
    "c": 0.15701,
    "h": 117.1
  },
  "luminance": 0.38931
}

Semantic roles & 50–950 ramp

primary
#9FB122
secondary
#7366C9
accent
#3DEB53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB122

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

Preview Lab → · Contrast checker → · Palette generator →

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