#9CB233#9CB233

#9CB233 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.3% C 0.150 H 118.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#9CB233
RGBrgb(156, 178, 51)
HSLhsl(70, 55%, 45%)
HSVhsv(70, 71%, 70%)
CMYKcmyk(12.4%, 0%, 71.3%, 30.2%)
CIE-LABlab(68.86, -24.47, 58.88)
CIE-LCHlch(68.86, 63.76, 112.57°)
OKLaboklab(72.32% -0.0726 0.1314)
OKLCHoklch(72.32% 0.15 118.9)
XYZxyz(30.2288, 39.1479, 9.0952)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB233 #4933B2
analogous
#B28933 #9CB233 #5CB233
triadic
#9CB233 #339CB2 #B2339C
tetradic
#9CB233 #33B289 #4933B2 #B2335C
square
#9CB233 #33B289 #4933B2 #B2335C
split-complementary
#9CB233 #335CB2 #8933B2
monochromatic
#495318 #728225 #9CB233 #B9CE54 #CCDC84

Accessibility & contrast

On white

2.38
#9CB233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#9CB233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB233
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB233#FFFFFF#000000##000000
##9CB2331.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81D
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#A5A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb233;
/* rgb */ color: rgb(156, 178, 51);
/* oklch */ color: oklch(72.3% 0.150 118.9);
Tailwind
colors: {
  custom: {
    50: '#bcc973',
    500: '#9cb233',
    950: '#000000',
  },
}
SCSS
$custom: #9cb233;
$custom-light: #bcc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb233",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 70.394,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.15007,
    "h": 118.9
  },
  "luminance": 0.39148
}

Semantic roles & 50–950 ramp

primary
#9CB233
secondary
#887CC5
accent
#49DF63
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB233

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

Preview Lab → · Contrast checker → · Palette generator →

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