#9CAC30#9CAC30

#9CAC30 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.145 H 116.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9CAC30
RGBrgb(156, 172, 48)
HSLhsl(68, 56%, 43%)
HSVhsv(68, 72%, 67%)
CMYKcmyk(9.3%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.12, -21.67, 58.27)
CIE-LCHlch(67.12, 62.17, 110.40°)
OKLaboklab(70.91% -0.0651 0.1296)
OKLCHoklch(70.91% 0.145 116.7)
XYZxyz(28.9970, 36.7867, 8.3687)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC30 #4030AC
analogous
#AC7E30 #9CAC30 #5EAC30
triadic
#9CAC30 #309CAC #AC309C
tetradic
#9CAC30 #30AC7E #4030AC #AC305E
square
#9CAC30 #30AC7E #4030AC #AC305E
split-complementary
#9CAC30 #305EAC #7E30AC
monochromatic
#454C15 #717C23 #9CAC30 #BCCD4C #CEDA7C

Accessibility & contrast

On white

2.51
#9CAC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#9CAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC30
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC30#FFFFFF#000000##000000
##9CAC301.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A319
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#A6A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac30;
/* rgb */ color: rgb(156, 172, 48);
/* oklch */ color: oklch(70.9% 0.145 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc471',
    500: '#9cac30',
    950: '#000000',
  },
}
SCSS
$custom: #9cac30;
$custom-light: #bcc471;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac30",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 67.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.145,
    "h": 116.7
  },
  "luminance": 0.36786
}

Semantic roles & 50–950 ramp

primary
#9CAC30
secondary
#7F75C3
accent
#48E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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