#9CBA31#9CBA31

#9CBA31 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.2% C 0.161 H 121.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#9CBA31
RGBrgb(156, 186, 49)
HSLhsl(73, 58%, 46%)
HSVhsv(73, 74%, 73%)
CMYKcmyk(16.1%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.15, -28.45, 61.82)
CIE-LCHlch(71.15, 68.06, 114.71°)
OKLaboklab(74.16% -0.0837 0.1372)
OKLCHoklch(74.16% 0.161 121.4)
XYZxyz(31.8241, 42.4075, 9.4140)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBA31 #4F31BA
analogous
#BA9331 #9CBA31 #57BA31
triadic
#9CBA31 #319CBA #BA319C
tetradic
#9CBA31 #31BA93 #4F31BA #BA3157
square
#9CBA31 #31BA93 #4F31BA #BA3157
split-complementary
#9CBA31 #3157BA #9331BA
monochromatic
#4B5917 #738A24 #9CBA31 #B7D256 #CCDF86

Accessibility & contrast

On white

2.21
#9CBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#9CBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBA31
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBA31#FFFFFF#000000##000000
##9CBA311.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF15
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#A5B0A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cba31;
/* rgb */ color: rgb(156, 186, 49);
/* oklch */ color: oklch(74.2% 0.161 121.4);
Tailwind
colors: {
  custom: {
    50: '#bdce73',
    500: '#9cba31',
    950: '#000000',
  },
}
SCSS
$custom: #9cba31;
$custom-light: #bdce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9cba31",
  "rgb": {
    "r": 156,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 73.139,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.16075,
    "h": 121.4
  },
  "luminance": 0.42407
}

Semantic roles & 50–950 ramp

primary
#9CBA31
secondary
#8E7EC9
accent
#46E268
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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