#9CA520#9CA520

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

Color values

HEX#9CA520
RGBrgb(156, 165, 32)
HSLhsl(64, 68%, 39%)
HSVhsv(64, 81%, 65%)
CMYKcmyk(5.5%, 0%, 80.6%, 35.3%)
CIE-LABlab(65.03, -18.85, 61.54)
CIE-LCHlch(65.03, 64.36, 107.03°)
OKLaboklab(69.21% -0.0586 0.1337)
OKLCHoklch(69.21% 0.146 113.7)
XYZxyz(27.4270, 34.0831, 6.5001)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA520 #2920A5
analogous
#A56B20 #9CA520 #59A520
triadic
#9CA520 #209CA5 #A5209C
tetradic
#9CA520 #20A56B #2920A5 #A52059
square
#9CA520 #20A56B #2920A5 #A52059
split-complementary
#9CA520 #2059A5 #6B20A5
monochromatic
#3B3E0C #6C7216 #9CA520 #CBD62C #D7E05F

Accessibility & contrast

On white

2.69
#9CA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9CA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA520
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA520#FFFFFF#000000##000000
##9CA5201.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca520;
/* rgb */ color: rgb(156, 165, 32);
/* oklch */ color: oklch(69.2% 0.146 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf69',
    500: '#9ca520',
    950: '#000000',
  },
}
SCSS
$custom: #9ca520;
$custom-light: #bdbf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca520",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 64.06,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69207,
    "c": 0.14596,
    "h": 113.7
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#9CA520
secondary
#635CC5
accent
#3DEA49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA520

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

Preview Lab → · Contrast checker → · Palette generator →

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