#9CAC25#9CAC25

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

Color values

HEX#9CAC25
RGBrgb(156, 172, 37)
HSLhsl(67, 65%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(9.3%, 0%, 78.5%, 32.5%)
CIE-LABlab(67.06, -22.18, 61.89)
CIE-LCHlch(67.06, 65.74, 109.72°)
OKLaboklab(70.84% -0.0674 0.1353)
OKLCHoklch(70.84% 0.151 116.5)
XYZxyz(28.7975, 36.7069, 7.3180)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC25 #3525AC
analogous
#AC7825 #9CAC25 #58AC25
triadic
#9CAC25 #259CAC #AC259C
tetradic
#9CAC25 #25AC78 #3525AC #AC2558
square
#9CAC25 #25AC78 #3525AC #AC2558
split-complementary
#9CAC25 #2558AC #7825AC
monochromatic
#41470F #6E7A1A #9CAC25 #C2D53A #D2DF6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAC25#FFFFFF#000000##000000
##9CAC251.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)
#B7A432
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac25;
/* rgb */ color: rgb(156, 172, 37);
/* oklch */ color: oklch(70.8% 0.151 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc46c',
    500: '#9cac25',
    950: '#000000',
  },
}
SCSS
$custom: #9cac25;
$custom-light: #bdc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac25",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 67.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70842,
    "c": 0.15117,
    "h": 116.5
  },
  "luminance": 0.36707
}

Semantic roles & 50–950 ramp

primary
#9CAC25
secondary
#7267C6
accent
#40E854
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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