#9CB028#9CB028

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

Color values

HEX#9CB028
RGBrgb(156, 176, 40)
HSLhsl(69, 63%, 42%)
HSVhsv(69, 77%, 69%)
CMYKcmyk(11.4%, 0%, 77.3%, 31%)
CIE-LABlab(68.22, -24.03, 62.02)
CIE-LCHlch(68.22, 66.52, 111.18°)
OKLaboklab(71.78% -0.0723 0.1361)
OKLCHoklch(71.78% 0.154 118)
XYZxyz(29.6193, 38.2721, 7.8340)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB028 #3C28B0
analogous
#B08028 #9CB028 #58B028
triadic
#9CB028 #289CB0 #B0289C
tetradic
#9CB028 #28B080 #3C28B0 #B02858
square
#9CB028 #28B080 #3C28B0 #B02858
split-complementary
#9CB028 #2858B0 #8028B0
monochromatic
#444C11 #707E1D #9CB028 #BED441 #CFDF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB028#FFFFFF#000000##000000
##9CB0281.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)
#BAA735
Tritanopia (blue-blind)
#A6A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9cb028;
/* rgb */ color: rgb(156, 176, 40);
/* oklch */ color: oklch(71.8% 0.154 118.0);
Tailwind
colors: {
  custom: {
    50: '#bdc76e',
    500: '#9cb028',
    950: '#000000',
  },
}
SCSS
$custom: #9cb028;
$custom-light: #bdc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb028",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 68.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71783,
    "c": 0.15413,
    "h": 118
  },
  "luminance": 0.38272
}

Semantic roles & 50–950 ramp

primary
#9CB028
secondary
#7A6DC6
accent
#42E65A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB028

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

Preview Lab → · Contrast checker → · Palette generator →

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