#9FB12A#9FB12A

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

Color values

HEX#9FB12A
RGBrgb(159, 177, 42)
HSLhsl(68, 62%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(10.2%, 0%, 76.3%, 30.6%)
CIE-LABlab(68.74, -23.17, 61.95)
CIE-LCHlch(68.74, 66.14, 110.51°)
OKLaboklab(72.26% -0.0699 0.1362)
OKLCHoklch(72.26% 0.153 117.2)
XYZxyz(30.4389, 38.9827, 8.1109)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB12A #3C2AB1
analogous
#B17F2A #9FB12A #5BB12A
triadic
#9FB12A #2A9FB1 #B12A9F
tetradic
#9FB12A #2AB17F #3C2AB1 #B12A5B
square
#9FB12A #2AB17F #3C2AB1 #B12A5B
split-complementary
#9FB12A #2A5BB1 #7F2AB1
monochromatic
#464E13 #73801E #9FB12A #C0D345 #D1DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB12A#FFFFFF#000000##000000
##9FB12A1.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)
#BDA706
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb12a;
/* rgb */ color: rgb(159, 177, 42);
/* oklch */ color: oklch(72.3% 0.153 117.2);
Tailwind
colors: {
  custom: {
    50: '#bfc86f',
    500: '#9fb12a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb12a;
$custom-light: #bfc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb12a",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 68,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72259,
    "c": 0.15311,
    "h": 117.2
  },
  "luminance": 0.38982
}

Semantic roles & 50–950 ramp

primary
#9FB12A
secondary
#7C70C6
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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