#9CBA23#9CBA23

#9CBA23 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.1% C 0.168 H 121.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#9CBA23
RGBrgb(156, 186, 35)
HSLhsl(72, 68%, 43%)
HSVhsv(72, 81%, 73%)
CMYKcmyk(16.1%, 0%, 81.2%, 27.1%)
CIE-LABlab(71.08, -29.07, 66.05)
CIE-LCHlch(71.08, 72.17, 113.76°)
OKLaboklab(74.08% -0.0865 0.1438)
OKLCHoklch(74.08% 0.168 121)
XYZxyz(31.5732, 42.3071, 8.0925)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBA23 #4123BA
analogous
#BA8D23 #9CBA23 #50BA23
triadic
#9CBA23 #239CBA #BA239C
tetradic
#9CBA23 #23BA8D #4123BA #BA2350
square
#9CBA23 #23BA8D #4123BA #BA2350
split-complementary
#9CBA23 #2350BA #8D23BA
monochromatic
#465310 #718619 #9CBA23 #BCDB3F #CEE573

Accessibility & contrast

On white

2.22
#9CBA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#9CBA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBA23
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBA23#FFFFFF#000000##000000
##9CBA231.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#A5B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cba23;
/* rgb */ color: rgb(156, 186, 35);
/* oklch */ color: oklch(74.1% 0.168 121.0);
Tailwind
colors: {
  custom: {
    50: '#bdce6d',
    500: '#9cba23',
    950: '#000000',
  },
}
SCSS
$custom: #9cba23;
$custom-light: #bdce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cba23",
  "rgb": {
    "r": 156,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 71.921,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74082,
    "c": 0.16784,
    "h": 121
  },
  "luminance": 0.42307
}

Semantic roles & 50–950 ramp

primary
#9CBA23
secondary
#806DCC
accent
#3DEB5F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9CBA23

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

Preview Lab → · Contrast checker → · Palette generator →

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