#9CB325#9CB325

#9CB325 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.159 H 118.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9CB325
RGBrgb(156, 179, 37)
HSLhsl(70, 66%, 42%)
HSVhsv(70, 79%, 70%)
CMYKcmyk(12.8%, 0%, 79.3%, 29.8%)
CIE-LABlab(69.07, -25.63, 63.70)
CIE-LCHlch(69.07, 68.66, 111.91°)
OKLaboklab(72.46% -0.0769 0.1392)
OKLCHoklch(72.46% 0.159 118.9)
XYZxyz(30.1650, 39.4419, 7.7738)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB325 #3C25B3
analogous
#B38325 #9CB325 #55B325
triadic
#9CB325 #259CB3 #B3259C
tetradic
#9CB325 #25B383 #3C25B3 #B32555
square
#9CB325 #25B383 #3C25B3 #B32555
split-complementary
#9CB325 #2555B3 #8325B3
monochromatic
#444E10 #70801B #9CB325 #BED73E #CFE271

Accessibility & contrast

On white

2.36
#9CB325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#9CB325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB325
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB325#FFFFFF#000000##000000
##9CB3251.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#A6A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb325;
/* rgb */ color: rgb(156, 179, 37);
/* oklch */ color: oklch(72.5% 0.159 118.9);
Tailwind
colors: {
  custom: {
    50: '#bdc96d',
    500: '#9cb325',
    950: '#000000',
  },
}
SCSS
$custom: #9cb325;
$custom-light: #bdc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb325",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 69.718,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.15901,
    "h": 118.9
  },
  "luminance": 0.39442
}

Semantic roles & 50–950 ramp

primary
#9CB325
secondary
#7A6BC8
accent
#3FE95B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB325

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

Preview Lab → · Contrast checker → · Palette generator →

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