#9FB127#9FB127

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

Color values

HEX#9FB127
RGBrgb(159, 177, 39)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.2%, 0%, 78%, 30.6%)
CIE-LABlab(68.72, -23.30, 62.88)
CIE-LCHlch(68.72, 67.05, 110.33°)
OKLaboklab(72.24% -0.0705 0.1376)
OKLCHoklch(72.24% 0.155 117.1)
XYZxyz(30.3872, 38.9621, 7.8387)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB127 #3927B1
analogous
#B17E27 #9FB127 #5AB127
triadic
#9FB127 #279FB1 #B1279F
tetradic
#9FB127 #27B17E #3927B1 #B1275A
square
#9FB127 #27B17E #3927B1 #B1275A
split-complementary
#9FB127 #275AB1 #7E27B1
monochromatic
#454D11 #727F1C #9FB127 #C2D540 #D2E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB127#FFFFFF#000000##000000
##9FB1271.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)
#BDA700
Deuteranopia (green-blind)
#BCA834
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb127;
/* rgb */ color: rgb(159, 177, 39);
/* oklch */ color: oklch(72.2% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc86d',
    500: '#9fb127',
    950: '#000000',
  },
}
SCSS
$custom: #9fb127;
$custom-light: #bfc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb127",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 67.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.15466,
    "h": 117.1
  },
  "luminance": 0.38962
}

Semantic roles & 50–950 ramp

primary
#9FB127
secondary
#786DC7
accent
#41E757
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB127

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

Preview Lab → · Contrast checker → · Palette generator →

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