#9CB127#9CB127

#9CB127 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#9CB127
RGBrgb(156, 177, 39)
HSLhsl(69, 64%, 42%)
HSVhsv(69, 78%, 69%)
CMYKcmyk(11.9%, 0%, 78%, 30.6%)
CIE-LABlab(68.50, -24.57, 62.59)
CIE-LCHlch(68.50, 67.24, 111.43°)
OKLaboklab(72.01% -0.0739 0.1371)
OKLCHoklch(72.01% 0.156 118.3)
XYZxyz(29.7993, 38.6590, 7.8112)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB127 #3C27B1
analogous
#B18127 #9CB127 #57B127
triadic
#9CB127 #279CB1 #B1279C
tetradic
#9CB127 #27B181 #3C27B1 #B12757
square
#9CB127 #27B181 #3C27B1 #B12757
split-complementary
#9CB127 #2757B1 #8127B1
monochromatic
#444D11 #707F1C #9CB127 #BED540 #CFE072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB127#FFFFFF#000000##000000
##9CB1271.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: #9cb127;
/* rgb */ color: rgb(156, 177, 39);
/* oklch */ color: oklch(72.0% 0.156 118.3);
Tailwind
colors: {
  custom: {
    50: '#bdc86d',
    500: '#9cb127',
    950: '#000000',
  },
}
SCSS
$custom: #9cb127;
$custom-light: #bdc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb127",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 69.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72009,
    "c": 0.15577,
    "h": 118.3
  },
  "luminance": 0.38659
}

Semantic roles & 50–950 ramp

primary
#9CB127
secondary
#7A6DC7
accent
#41E75A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB127

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

Preview Lab → · Contrast checker → · Palette generator →

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