#9CB126#9CB126

#9CB126 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.0% C 0.156 H 118.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#9CB126
RGBrgb(156, 177, 38)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(11.9%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.50, -24.61, 62.89)
CIE-LCHlch(68.50, 67.53, 111.37°)
OKLaboklab(72% -0.0741 0.1376)
OKLCHoklch(72% 0.156 118.3)
XYZxyz(29.7830, 38.6524, 7.7250)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB126 #3B26B1
analogous
#B18126 #9CB126 #56B126
triadic
#9CB126 #269CB1 #B1269C
tetradic
#9CB126 #26B181 #3B26B1 #B12656
square
#9CB126 #26B181 #3B26B1 #B12656
split-complementary
#9CB126 #2656B1 #8126B1
monochromatic
#434C10 #707F1B #9CB126 #BFD63F #D0E071

Accessibility & contrast

On white

2.41
#9CB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#9CB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB126
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB126#FFFFFF#000000##000000
##9CB1261.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A6A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb126;
/* rgb */ color: rgb(156, 177, 38);
/* oklch */ color: oklch(72.0% 0.156 118.3);
Tailwind
colors: {
  custom: {
    50: '#bdc86d',
    500: '#9cb126',
    950: '#000000',
  },
}
SCSS
$custom: #9cb126;
$custom-light: #bdc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb126",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 69.065,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72004,
    "c": 0.15626,
    "h": 118.3
  },
  "luminance": 0.38652
}

Semantic roles & 50–950 ramp

primary
#9CB126
secondary
#796BC7
accent
#40E859
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB126

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

Preview Lab → · Contrast checker → · Palette generator →

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