#9CA040#9CA040

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

Color values

HEX#9CA040
RGBrgb(156, 160, 64)
HSLhsl(63, 43%, 44%)
HSVhsv(63, 60%, 63%)
CMYKcmyk(2.5%, 0%, 60%, 37.3%)
CIE-LABlab(63.82, -14.53, 48.28)
CIE-LCHlch(63.82, 50.42, 106.75°)
OKLaboklab(68.31% -0.0435 0.111)
OKLCHoklch(68.31% 0.119 111.4)
XYZxyz(27.2072, 32.5803, 9.7049)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA040 #4440A0
analogous
#A07440 #9CA040 #6CA040
triadic
#9CA040 #409CA0 #A0409C
tetradic
#9CA040 #40A074 #4440A0 #A0406C
square
#9CA040 #40A074 #4440A0 #A0406C
split-complementary
#9CA040 #406CA0 #7440A0
monochromatic
#47491D #71742F #9CA040 #BBBF5E #CDD08A

Accessibility & contrast

On white

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

On black

7.52
#9CA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA040
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA040#FFFFFF#000000##000000
##9CA0401.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#AC9C46
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca040;
/* rgb */ color: rgb(156, 160, 64);
/* oklch */ color: oklch(68.3% 0.119 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb79',
    500: '#9ca040',
    950: '#000000',
  },
}
SCSS
$custom: #9ca040;
$custom-light: #bcbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca040",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 62.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.11917,
    "h": 111.4
  },
  "luminance": 0.3258
}

Semantic roles & 50–950 ramp

primary
#9CA040
secondary
#8381BB
accent
#55D35A
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9CA040

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

Preview Lab → · Contrast checker → · Palette generator →

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