#9FBC2D#9FBC2D

#9FBC2D is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.8% C 0.164 H 120.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#9FBC2D
RGBrgb(159, 188, 45)
HSLhsl(72, 61%, 46%)
HSVhsv(72, 76%, 74%)
CMYKcmyk(15.4%, 0%, 76.1%, 26.3%)
CIE-LABlab(71.91, -28.38, 63.94)
CIE-LCHlch(71.91, 69.96, 113.93°)
OKLaboklab(74.82% -0.084 0.1409)
OKLCHoklch(74.82% 0.164 120.8)
XYZxyz(32.7555, 43.5269, 9.1580)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBC2D #4A2DBC
analogous
#BC912D #9FBC2D #57BC2D
triadic
#9FBC2D #2D9FBC #BC2D9F
tetradic
#9FBC2D #2DBC91 #4A2DBC #BC2D57
square
#9FBC2D #2DBC91 #4A2DBC #BC2D57
split-complementary
#9FBC2D #2D57BC #912DBC
monochromatic
#4B5915 #758B21 #9FBC2D #BAD551 #CEE182

Accessibility & contrast

On white

2.16
#9FBC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#9FBC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBC2D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBC2D#FFFFFF#000000##000000
##9FBC2D1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B107
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#A8B2A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9fbc2d;
/* rgb */ color: rgb(159, 188, 45);
/* oklch */ color: oklch(74.8% 0.164 120.8);
Tailwind
colors: {
  custom: {
    50: '#bfd071',
    500: '#9fbc2d',
    950: '#000000',
  },
}
SCSS
$custom: #9fbc2d;
$custom-light: #bfd071;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbc2d",
  "rgb": {
    "r": 159,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 72.168,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.16408,
    "h": 120.8
  },
  "luminance": 0.43527
}

Semantic roles & 50–950 ramp

primary
#9FBC2D
secondary
#8B7BCA
accent
#43E464
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9FBC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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