#9FB12E#9FB12E

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

Color values

HEX#9FB12E
RGBrgb(159, 177, 46)
HSLhsl(68, 59%, 44%)
HSVhsv(68, 74%, 69%)
CMYKcmyk(10.2%, 0%, 74%, 30.6%)
CIE-LABlab(68.76, -22.98, 60.64)
CIE-LCHlch(68.76, 64.85, 110.76°)
OKLaboklab(72.28% -0.0691 0.1341)
OKLCHoklch(72.28% 0.151 117.2)
XYZxyz(30.5141, 39.0128, 8.5070)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB12E #402EB1
analogous
#B1812E #9FB12E #5DB12E
triadic
#9FB12E #2E9FB1 #B12E9F
tetradic
#9FB12E #2EB181 #402EB1 #B12E5D
square
#9FB12E #2EB181 #402EB1 #B12E5D
split-complementary
#9FB12E #2E5DB1 #812EB1
monochromatic
#485015 #738021 #9FB12E #BED04C #D0DD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB12E#FFFFFF#000000##000000
##9FB12E1.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)
#BDA712
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb12e;
/* rgb */ color: rgb(159, 177, 46);
/* oklch */ color: oklch(72.3% 0.151 117.2);
Tailwind
colors: {
  custom: {
    50: '#bfc871',
    500: '#9fb12e',
    950: '#000000',
  },
}
SCSS
$custom: #9fb12e;
$custom-light: #bfc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb12e",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 68.244,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72283,
    "c": 0.15087,
    "h": 117.2
  },
  "luminance": 0.39012
}

Semantic roles & 50–950 ramp

primary
#9FB12E
secondary
#8075C6
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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