#9CB423#9CB423

#9CB423 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.161 H 119.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9CB423
RGBrgb(156, 180, 35)
HSLhsl(70, 67%, 42%)
HSVhsv(70, 81%, 71%)
CMYKcmyk(13.3%, 0%, 80.6%, 29.4%)
CIE-LABlab(69.35, -26.19, 64.52)
CIE-LCHlch(69.35, 69.63, 112.09°)
OKLaboklab(72.69% -0.0786 0.1406)
OKLCHoklch(72.69% 0.161 119.2)
XYZxyz(30.3356, 39.8320, 7.6800)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB423 #3B23B4
analogous
#B48423 #9CB423 #54B423
triadic
#9CB423 #239CB4 #B4239C
tetradic
#9CB423 #23B484 #3B23B4 #B42354
square
#9CB423 #23B484 #3B23B4 #B42354
split-complementary
#9CB423 #2354B4 #8423B4
monochromatic
#434E0F #708119 #9CB423 #BFD93B #D0E36E

Accessibility & contrast

On white

2.34
#9CB423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9CB423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB423
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB423#FFFFFF#000000##000000
##9CB4231.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#A6AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb423;
/* rgb */ color: rgb(156, 180, 35);
/* oklch */ color: oklch(72.7% 0.161 119.2);
Tailwind
colors: {
  custom: {
    50: '#bdca6c',
    500: '#9cb423',
    950: '#000000',
  },
}
SCSS
$custom: #9cb423;
$custom-light: #bdca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb423",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 69.931,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72685,
    "c": 0.16105,
    "h": 119.2
  },
  "luminance": 0.39832
}

Semantic roles & 50–950 ramp

primary
#9CB423
secondary
#7969C9
accent
#3DEA5A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9CB423

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

Preview Lab → · Contrast checker → · Palette generator →

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