#9CB538#9CB538

#9CB538 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 73.0% C 0.150 H 120.1°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#9CB538
RGBrgb(156, 181, 56)
HSLhsl(72, 53%, 46%)
HSVhsv(72, 69%, 71%)
CMYKcmyk(13.8%, 0%, 69.1%, 29%)
CIE-LABlab(69.75, -25.65, 57.89)
CIE-LCHlch(69.75, 63.32, 113.89°)
OKLaboklab(73.05% -0.0754 0.1301)
OKLCHoklch(73.05% 0.15 120.1)
XYZxyz(30.9485, 40.4013, 9.9084)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB538 #5138B5
analogous
#B59038 #9CB538 #5EB538
triadic
#9CB538 #389CB5 #B5389C
tetradic
#9CB538 #38B590 #5138B5 #B5385E
square
#9CB538 #38B590 #5138B5 #B5385E
split-complementary
#9CB538 #385EB5 #9038B5
monochromatic
#4B581B #74862A #9CB538 #B7CD5D #CCDB8C

Accessibility & contrast

On white

2.31
#9CB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#9CB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB538
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB538#FFFFFF#000000##000000
##9CB5381.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB25
Deuteranopia (green-blind)
#BDAB42
Tritanopia (blue-blind)
#A5AB9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9cb538;
/* rgb */ color: rgb(156, 181, 56);
/* oklch */ color: oklch(73.0% 0.150 120.1);
Tailwind
colors: {
  custom: {
    50: '#bccb76',
    500: '#9cb538',
    950: '#000000',
  },
}
SCSS
$custom: #9cb538;
$custom-light: #bccb76;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb538",
  "rgb": {
    "r": 156,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 72,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73048,
    "c": 0.15034,
    "h": 120.1
  },
  "luminance": 0.40401
}

Semantic roles & 50–950 ramp

primary
#9CB538
secondary
#9083C6
accent
#4CDC69
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB538

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

Preview Lab → · Contrast checker → · Palette generator →

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