#9CA522#9CA522

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

Color values

HEX#9CA522
RGBrgb(156, 165, 34)
HSLhsl(64, 66%, 39%)
HSVhsv(64, 79%, 65%)
CMYKcmyk(5.5%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.04, -18.78, 60.97)
CIE-LCHlch(65.04, 63.79, 107.12°)
OKLaboklab(69.22% -0.0583 0.1328)
OKLCHoklch(69.22% 0.145 113.7)
XYZxyz(27.4550, 34.0943, 6.6476)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA522 #2B22A5
analogous
#A56D22 #9CA522 #5BA522
triadic
#9CA522 #229CA5 #A5229C
tetradic
#9CA522 #22A56D #2B22A5 #A5225B
square
#9CA522 #22A56D #2B22A5 #A5225B
split-complementary
#9CA522 #225BA5 #6D22A5
monochromatic
#3C400D #6C7218 #9CA522 #C9D430 #D6DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA522#FFFFFF#000000##000000
##9CA5221.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)
#B19F2E
Tritanopia (blue-blind)
#A79B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca522;
/* rgb */ color: rgb(156, 165, 34);
/* oklch */ color: oklch(69.2% 0.145 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf6a',
    500: '#9ca522',
    950: '#000000',
  },
}
SCSS
$custom: #9ca522;
$custom-light: #bdbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca522",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 64.122,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69217,
    "c": 0.14503,
    "h": 113.7
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#9CA522
secondary
#665FC4
accent
#3FE94B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA522

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

Preview Lab → · Contrast checker → · Palette generator →

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