#9CA045#9CA045

#9CA045 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.4% C 0.115 H 111.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9CA045
RGBrgb(156, 160, 69)
HSLhsl(63, 40%, 45%)
HSVhsv(63, 57%, 63%)
CMYKcmyk(2.5%, 0%, 56.9%, 37.3%)
CIE-LABlab(63.87, -14.14, 46.02)
CIE-LCHlch(63.87, 48.15, 107.08°)
OKLaboklab(68.36% -0.0418 0.1068)
OKLCHoklch(68.36% 0.115 111.4)
XYZxyz(27.3559, 32.6398, 10.4881)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA045 #4945A0
analogous
#A07645 #9CA045 #6FA045
triadic
#9CA045 #459CA0 #A0459C
tetradic
#9CA045 #45A076 #4945A0 #A0456F
square
#9CA045 #45A076 #4945A0 #A0456F
split-complementary
#9CA045 #456FA0 #7645A0
monochromatic
#494A20 #727533 #9CA045 #B9BD65 #CCCF90

Accessibility & contrast

On white

2.79
#9CA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9CA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA045
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA045#FFFFFF#000000##000000
##9CA0451.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#AC9C4A
Tritanopia (blue-blind)
#A6978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca045;
/* rgb */ color: rgb(156, 160, 69);
/* oklch */ color: oklch(68.4% 0.115 111.4);
Tailwind
colors: {
  custom: {
    50: '#bbbc7c',
    500: '#9ca045',
    950: '#000000',
  },
}
SCSS
$custom: #9ca045;
$custom-light: #bbbc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca045",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 62.637,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.11469,
    "h": 111.4
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#9CA045
secondary
#8886BB
accent
#58D05D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9CA045

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

Preview Lab → · Contrast checker → · Palette generator →

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