#9CA140#9CA140

#9CA140 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.120 H 111.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9CA140
RGBrgb(156, 161, 64)
HSLhsl(63, 43%, 44%)
HSVhsv(63, 60%, 63%)
CMYKcmyk(3.1%, 0%, 60.2%, 36.9%)
CIE-LABlab(64.10, -15.05, 48.59)
CIE-LCHlch(64.10, 50.87, 107.21°)
OKLaboklab(68.53% -0.0449 0.1116)
OKLCHoklch(68.53% 0.12 111.9)
XYZxyz(27.3813, 32.9284, 9.7629)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA140 #4540A1
analogous
#A17640 #9CA140 #6CA140
triadic
#9CA140 #409CA1 #A1409C
tetradic
#9CA140 #40A176 #4540A1 #A1406C
square
#9CA140 #40A176 #4540A1 #A1406C
split-complementary
#9CA140 #406CA1 #7640A1
monochromatic
#47491D #72752F #9CA140 #BABF5F #CDD18B

Accessibility & contrast

On white

2.77
#9CA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9CA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA140
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA140#FFFFFF#000000##000000
##9CA1401.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#AD9D46
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca140;
/* rgb */ color: rgb(156, 161, 64);
/* oklch */ color: oklch(68.5% 0.120 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc79',
    500: '#9ca140',
    950: '#000000',
  },
}
SCSS
$custom: #9ca140;
$custom-light: #bcbc79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca140",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 63.093,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68534,
    "c": 0.12033,
    "h": 111.9
  },
  "luminance": 0.32928
}

Semantic roles & 50–950 ramp

primary
#9CA140
secondary
#8481BC
accent
#55D35B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA140

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

Preview Lab → · Contrast checker → · Palette generator →

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