#9FB12F#9FB12F

#9FB12F is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.150 H 117.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#9FB12F
RGBrgb(159, 177, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 69%)
CMYKcmyk(10.2%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.77, -22.93, 60.30)
CIE-LCHlch(68.77, 64.51, 110.82°)
OKLaboklab(72.29% -0.0688 0.1336)
OKLCHoklch(72.29% 0.15 117.3)
XYZxyz(30.5340, 39.0208, 8.6120)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB12F #412FB1
analogous
#B1822F #9FB12F #5EB12F
triadic
#9FB12F #2F9FB1 #B12F9F
tetradic
#9FB12F #2FB182 #412FB1 #B12F5E
square
#9FB12F #2FB182 #412FB1 #B12F5E
split-complementary
#9FB12F #2F5EB1 #822FB1
monochromatic
#485015 #748122 #9FB12F #BED04D #D0DD7E

Accessibility & contrast

On white

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

On black

8.80
#9FB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB12F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB12F#FFFFFF#000000##000000
##9FB12F1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb12f;
/* rgb */ color: rgb(159, 177, 47);
/* oklch */ color: oklch(72.3% 0.150 117.3);
Tailwind
colors: {
  custom: {
    50: '#bfc871',
    500: '#9fb12f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb12f;
$custom-light: #bfc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb12f",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 68.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.15028,
    "h": 117.3
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#9FB12F
secondary
#8176C5
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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