#9CA328#9CA328

#9CA328 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.140 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9CA328
RGBrgb(156, 163, 40)
HSLhsl(63, 61%, 40%)
HSVhsv(63, 75%, 64%)
CMYKcmyk(4.3%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.50, -17.51, 58.57)
CIE-LCHlch(64.50, 61.13, 106.64°)
OKLaboklab(68.79% -0.0543 0.1288)
OKLCHoklch(68.79% 0.14 112.8)
XYZxyz(27.1914, 33.4161, 7.0246)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA328 #2F28A3
analogous
#A36D28 #9CA328 #5EA328
triadic
#9CA328 #289CA3 #A3289C
tetradic
#9CA328 #28A36D #2F28A3 #A3285E
square
#9CA328 #28A36D #2F28A3 #A3285E
split-complementary
#9CA328 #285EA3 #6D28A3
monochromatic
#3E4110 #6D721C #9CA328 #C6CF3A #D4DB6B

Accessibility & contrast

On white

2.73
#9CA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9CA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA328
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA328#FFFFFF#000000##000000
##9CA3281.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0B
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A7998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca328;
/* rgb */ color: rgb(156, 163, 40);
/* oklch */ color: oklch(68.8% 0.140 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe6c',
    500: '#9ca328',
    950: '#000000',
  },
}
SCSS
$custom: #9ca328;
$custom-light: #bdbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca328",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 63.415,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.13977,
    "h": 112.8
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#9CA328
secondary
#6B66C1
accent
#44E44D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA328

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

Preview Lab → · Contrast checker → · Palette generator →

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