#9CB229#9CB229

#9CB229 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.3% C 0.156 H 118.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9CB229
RGBrgb(156, 178, 41)
HSLhsl(70, 63%, 43%)
HSVhsv(70, 77%, 70%)
CMYKcmyk(12.4%, 0%, 77%, 30.2%)
CIE-LABlab(68.80, -24.97, 62.25)
CIE-LCHlch(68.80, 67.07, 111.86°)
OKLaboklab(72.25% -0.0748 0.1368)
OKLCHoklch(72.25% 0.156 118.7)
XYZxyz(30.0316, 39.0690, 8.0564)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB229 #3F29B2
analogous
#B28329 #9CB229 #57B229
triadic
#9CB229 #299CB2 #B2299C
tetradic
#9CB229 #29B283 #3F29B2 #B22957
square
#9CB229 #29B283 #3F29B2 #B22957
split-complementary
#9CB229 #2957B2 #8329B2
monochromatic
#454F12 #70801E #9CB229 #BDD444 #CEDF76

Accessibility & contrast

On white

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

On black

8.81
#9CB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB229
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB229#FFFFFF#000000##000000
##9CB2291.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#A6A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb229;
/* rgb */ color: rgb(156, 178, 41);
/* oklch */ color: oklch(72.3% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#bdc96e',
    500: '#9cb229',
    950: '#000000',
  },
}
SCSS
$custom: #9cb229;
$custom-light: #bdc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb229",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 69.635,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.15588,
    "h": 118.7
  },
  "luminance": 0.39069
}

Semantic roles & 50–950 ramp

primary
#9CB229
secondary
#7E70C7
accent
#42E65C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB229

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

Preview Lab → · Contrast checker → · Palette generator →

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