#9CB338#9CB338

#9CB338 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.6% C 0.148 H 119.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9CB338
RGBrgb(156, 179, 56)
HSLhsl(71, 52%, 46%)
HSVhsv(71, 69%, 70%)
CMYKcmyk(12.8%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.18, -24.67, 57.31)
CIE-LCHlch(69.18, 62.40, 113.29°)
OKLaboklab(72.58% -0.0727 0.1289)
OKLCHoklch(72.58% 0.148 119.4)
XYZxyz(30.5448, 39.5938, 9.7739)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB338 #4F38B3
analogous
#B38C38 #9CB338 #5EB338
triadic
#9CB338 #389CB3 #B3389C
tetradic
#9CB338 #38B38C #4F38B3 #B3385E
square
#9CB338 #38B38C #4F38B3 #B3385E
split-complementary
#9CB338 #385EB3 #8C38B3
monochromatic
#4B561B #738429 #9CB338 #B7CC5C #CCDB8B

Accessibility & contrast

On white

2.35
#9CB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9CB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB338
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB338#FFFFFF#000000##000000
##9CB3381.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BCA942
Tritanopia (blue-blind)
#A5AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb338;
/* rgb */ color: rgb(156, 179, 56);
/* oklch */ color: oklch(72.6% 0.148 119.4);
Tailwind
colors: {
  custom: {
    50: '#bcc976',
    500: '#9cb338',
    950: '#000000',
  },
}
SCSS
$custom: #9cb338;
$custom-light: #bcc976;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb338",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 71.22,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.14794,
    "h": 119.4
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

primary
#9CB338
secondary
#8E82C5
accent
#4CDC67
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB338

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

Preview Lab → · Contrast checker → · Palette generator →

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