#9CAC23#9CAC23

#9CAC23 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.152 H 116.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9CAC23
RGBrgb(156, 172, 35)
HSLhsl(67, 66%, 41%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(9.3%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.05, -22.26, 62.47)
CIE-LCHlch(67.05, 66.32, 109.61°)
OKLaboklab(70.83% -0.0678 0.1362)
OKLCHoklch(70.83% 0.152 116.5)
XYZxyz(28.7670, 36.6947, 7.1571)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC23 #3323AC
analogous
#AC7723 #9CAC23 #58AC23
triadic
#9CAC23 #239CAC #AC239C
tetradic
#9CAC23 #23AC77 #3323AC #AC2358
square
#9CAC23 #23AC77 #3323AC #AC2358
split-complementary
#9CAC23 #2358AC #7723AC
monochromatic
#40460E #6E7919 #9CAC23 #C3D636 #D3E069

Accessibility & contrast

On white

2.52
#9CAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9CAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC23
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC23#FFFFFF#000000##000000
##9CAC231.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac23;
/* rgb */ color: rgb(156, 172, 35);
/* oklch */ color: oklch(70.8% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc46b',
    500: '#9cac23',
    950: '#000000',
  },
}
SCSS
$custom: #9cac23;
$custom-light: #bdc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac23",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 67.007,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.15213,
    "h": 116.5
  },
  "luminance": 0.36694
}

Semantic roles & 50–950 ramp

primary
#9CAC23
secondary
#7064C6
accent
#3FE953
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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