#9CB526#9CB526

#9CB526 is a light, vivid yellow-green. Relative luminance 0.403; 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#9CB526
RGBrgb(156, 181, 38)
HSLhsl(70, 65%, 43%)
HSVhsv(70, 79%, 71%)
CMYKcmyk(13.8%, 0%, 79%, 29%)
CIE-LABlab(69.65, -26.56, 63.93)
CIE-LCHlch(69.65, 69.23, 112.56°)
OKLaboklab(72.93% -0.0794 0.1398)
OKLCHoklch(72.93% 0.161 119.6)
XYZxyz(30.5847, 40.2558, 7.9923)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB526 #3F26B5
analogous
#B58726 #9CB526 #54B526
triadic
#9CB526 #269CB5 #B5269C
tetradic
#9CB526 #26B587 #3F26B5 #B52654
square
#9CB526 #26B587 #3F26B5 #B52654
split-complementary
#9CB526 #2654B5 #8726B5
monochromatic
#455011 #70821B #9CB526 #BDD741 #CEE274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB526#FFFFFF#000000##000000
##9CB5261.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: #9cb526;
/* rgb */ color: rgb(156, 181, 38);
/* oklch */ color: oklch(72.9% 0.161 119.6);
Tailwind
colors: {
  custom: {
    50: '#bdcb6d',
    500: '#9cb526',
    950: '#000000',
  },
}
SCSS
$custom: #9cb526;
$custom-light: #bdcb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb526",
  "rgb": {
    "r": 156,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 70.49,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.1608,
    "h": 119.6
  },
  "luminance": 0.40256
}

Semantic roles & 50–950 ramp

primary
#9CB526
secondary
#7E6EC9
accent
#40E85D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB526

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

Preview Lab → · Contrast checker → · Palette generator →

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