#9CB027#9CB027

#9CB027 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.8% C 0.155 H 118.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#9CB027
RGBrgb(156, 176, 39)
HSLhsl(69, 64%, 42%)
HSVhsv(69, 78%, 69%)
CMYKcmyk(11.4%, 0%, 77.8%, 31%)
CIE-LABlab(68.22, -24.08, 62.33)
CIE-LCHlch(68.22, 66.82, 111.12°)
OKLaboklab(71.78% -0.0725 0.1366)
OKLCHoklch(71.78% 0.155 118)
XYZxyz(29.6026, 38.2654, 7.7456)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB027 #3B27B0
analogous
#B08027 #9CB027 #58B027
triadic
#9CB027 #279CB0 #B0279C
tetradic
#9CB027 #27B080 #3B27B0 #B02758
square
#9CB027 #27B080 #3B27B0 #B02758
split-complementary
#9CB027 #2758B0 #8027B0
monochromatic
#434C11 #707E1C #9CB027 #BFD540 #D0E072

Accessibility & contrast

On white

2.43
#9CB027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#9CB027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB027
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB027#FFFFFF#000000##000000
##9CB0271.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A6A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9cb027;
/* rgb */ color: rgb(156, 176, 39);
/* oklch */ color: oklch(71.8% 0.155 118.0);
Tailwind
colors: {
  custom: {
    50: '#bdc76d',
    500: '#9cb027',
    950: '#000000',
  },
}
SCSS
$custom: #9cb027;
$custom-light: #bdc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb027",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 68.759,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71778,
    "c": 0.15465,
    "h": 118
  },
  "luminance": 0.38265
}

Semantic roles & 50–950 ramp

primary
#9CB027
secondary
#796CC7
accent
#41E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB027

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

Preview Lab → · Contrast checker → · Palette generator →

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