#9CBF28#9CBF28

#9CBF28 is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 75.3% C 0.171 H 122.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#9CBF28
RGBrgb(156, 191, 40)
HSLhsl(74, 65%, 45%)
HSVhsv(74, 79%, 75%)
CMYKcmyk(18.3%, 0%, 79.1%, 25.1%)
CIE-LABlab(72.55, -31.24, 65.98)
CIE-LCHlch(72.55, 73.00, 115.34°)
OKLaboklab(75.28% -0.0921 0.1445)
OKLCHoklch(75.28% 0.171 122.5)
XYZxyz(32.7246, 44.4826, 8.8691)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBF28 #4B28BF
analogous
#BF9628 #9CBF28 #51BF28
triadic
#9CBF28 #289CBF #BF289C
tetradic
#9CBF28 #28BF96 #4B28BF #BF2851
square
#9CBF28 #28BF96 #4B28BF #BF2851
split-complementary
#9CBF28 #2851BF #9628BF
monochromatic
#495A13 #738C1D #9CBF28 #B8D94B #CCE47E

Accessibility & contrast

On white

2.12
#9CBF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#9CBF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBF28
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBF28#FFFFFF#000000##000000
##9CBF281.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#A4B5A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #9cbf28;
/* rgb */ color: rgb(156, 191, 40);
/* oklch */ color: oklch(75.3% 0.171 122.5);
Tailwind
colors: {
  custom: {
    50: '#bdd270',
    500: '#9cbf28',
    950: '#000000',
  },
}
SCSS
$custom: #9cbf28;
$custom-light: #bdd270;
$custom-dark: #000000;
JSON
{
  "hex": "#9cbf28",
  "rgb": {
    "r": 156,
    "g": 191,
    "b": 40
  },
  "hsl": {
    "h": 73.907,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75275,
    "c": 0.17134,
    "h": 122.5
  },
  "luminance": 0.44483
}

Semantic roles & 50–950 ramp

primary
#9CBF28
secondary
#8A77CC
accent
#3FE867
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9CBF28

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

Preview Lab → · Contrast checker → · Palette generator →

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