#9CB123#9CB123

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

Color values

HEX#9CB123
RGBrgb(156, 177, 35)
HSLhsl(69, 67%, 42%)
HSVhsv(69, 80%, 69%)
CMYKcmyk(11.9%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.49, -24.73, 63.75)
CIE-LCHlch(68.49, 68.38, 111.20°)
OKLaboklab(71.99% -0.0746 0.1389)
OKLCHoklch(71.99% 0.158 118.2)
XYZxyz(29.7365, 38.6338, 7.4803)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB123 #3823B1
analogous
#B17F23 #9CB123 #55B123
triadic
#9CB123 #239CB1 #B1239C
tetradic
#9CB123 #23B17F #3823B1 #B12355
square
#9CB123 #23B17F #3823B1 #B12355
split-complementary
#9CB123 #2355B1 #7F23B1
monochromatic
#424B0F #6F7E19 #9CB123 #C0D839 #D1E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB123#FFFFFF#000000##000000
##9CB1231.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)
#BBA831
Tritanopia (blue-blind)
#A6A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb123;
/* rgb */ color: rgb(156, 177, 35);
/* oklch */ color: oklch(72.0% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#bdc86c',
    500: '#9cb123',
    950: '#000000',
  },
}
SCSS
$custom: #9cb123;
$custom-light: #bdc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb123",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 68.873,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.15768,
    "h": 118.2
  },
  "luminance": 0.38634
}

Semantic roles & 50–950 ramp

primary
#9CB123
secondary
#7668C8
accent
#3EEA57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB123

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

Preview Lab → · Contrast checker → · Palette generator →

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