#9CB525#9CB525

#9CB525 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.9% C 0.161 H 119.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#9CB525
RGBrgb(156, 181, 37)
HSLhsl(70, 66%, 43%)
HSVhsv(70, 80%, 71%)
CMYKcmyk(13.8%, 0%, 79.6%, 29%)
CIE-LABlab(69.65, -26.60, 64.22)
CIE-LCHlch(69.65, 69.51, 112.50°)
OKLaboklab(72.93% -0.0796 0.1403)
OKLCHoklch(72.93% 0.161 119.6)
XYZxyz(30.5688, 40.2494, 7.9084)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB525 #3E25B5
analogous
#B58625 #9CB525 #54B525
triadic
#9CB525 #259CB5 #B5259C
tetradic
#9CB525 #25B586 #3E25B5 #B52554
square
#9CB525 #25B586 #3E25B5 #B52554
split-complementary
#9CB525 #2554B5 #8625B5
monochromatic
#444F10 #70821B #9CB525 #BDD83F #CFE272

Accessibility & contrast

On white

2.32
#9CB525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#9CB525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB525
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB525#FFFFFF#000000##000000
##9CB5251.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#A5AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9cb525;
/* rgb */ color: rgb(156, 181, 37);
/* oklch */ color: oklch(72.9% 0.161 119.6);
Tailwind
colors: {
  custom: {
    50: '#bdcb6d',
    500: '#9cb525',
    950: '#000000',
  },
}
SCSS
$custom: #9cb525;
$custom-light: #bdcb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb525",
  "rgb": {
    "r": 156,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 70.417,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.16127,
    "h": 119.6
  },
  "luminance": 0.40249
}

Semantic roles & 50–950 ramp

primary
#9CB525
secondary
#7D6DC9
accent
#3FE95C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB525

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

Preview Lab → · Contrast checker → · Palette generator →

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