#9CA545#9CA545

#9CA545 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.121 H 114.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9CA545
RGBrgb(156, 165, 69)
HSLhsl(66, 41%, 46%)
HSVhsv(66, 58%, 65%)
CMYKcmyk(5.5%, 0%, 58.2%, 35.3%)
CIE-LABlab(65.29, -16.73, 47.62)
CIE-LCHlch(65.29, 50.47, 109.36°)
OKLaboklab(69.49% -0.0491 0.1102)
OKLCHoklch(69.49% 0.121 114)
XYZxyz(28.2402, 34.4083, 10.7829)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA545 #4E45A5
analogous
#A57E45 #9CA545 #6CA545
triadic
#9CA545 #459CA5 #A5459C
tetradic
#9CA545 #45A57E #4E45A5 #A5456C
square
#9CA545 #45A57E #4E45A5 #A5456C
split-complementary
#9CA545 #456CA5 #7E45A5
monochromatic
#4A4F21 #737A33 #9CA545 #B7C068 #CCD293

Accessibility & contrast

On white

2.66
#9CA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9CA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA545
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA545#FFFFFF#000000##000000
##9CA5451.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3B
Deuteranopia (green-blind)
#B09F4B
Tritanopia (blue-blind)
#A59C90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca545;
/* rgb */ color: rgb(156, 165, 69);
/* oklch */ color: oklch(69.5% 0.121 114.0);
Tailwind
colors: {
  custom: {
    50: '#bbbf7c',
    500: '#9ca545',
    950: '#000000',
  },
}
SCSS
$custom: #9ca545;
$custom-light: #bbbf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca545",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 65.625,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69495,
    "c": 0.12065,
    "h": 114
  },
  "luminance": 0.34408
}

Semantic roles & 50–950 ramp

primary
#9CA545
secondary
#8D88BD
accent
#57D162
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9CA545

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

Preview Lab → · Contrast checker → · Palette generator →

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