#9CA528#9CA528

#9CA528 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.142 H 113.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9CA528
RGBrgb(156, 165, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 65%)
CMYKcmyk(5.5%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.07, -18.53, 59.11)
CIE-LCHlch(65.07, 61.94, 107.41°)
OKLaboklab(69.25% -0.0571 0.1299)
OKLCHoklch(69.25% 0.142 113.7)
XYZxyz(27.5493, 34.1320, 7.1440)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA528 #3128A5
analogous
#A56F28 #9CA528 #5DA528
triadic
#9CA528 #289CA5 #A5289C
tetradic
#9CA528 #28A56F #3128A5 #A5285D
square
#9CA528 #28A56F #3128A5 #A5285D
split-complementary
#9CA528 #285DA5 #6F28A5
monochromatic
#3F4210 #6D741C #9CA528 #C5CF3B #D3DB6C

Accessibility & contrast

On white

2.68
#9CA528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9CA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA528
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA528#FFFFFF#000000##000000
##9CA5281.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca528;
/* rgb */ color: rgb(156, 165, 40);
/* oklch */ color: oklch(69.3% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6c',
    500: '#9ca528',
    950: '#000000',
  },
}
SCSS
$custom: #9ca528;
$custom-light: #bdbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca528",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 64.32,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69251,
    "c": 0.14193,
    "h": 113.7
  },
  "luminance": 0.34131
}

Semantic roles & 50–950 ramp

primary
#9CA528
secondary
#6D67C2
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA528

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

Preview Lab → · Contrast checker → · Palette generator →

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