#9CA340#9CA340

#9CA340 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.123 H 113.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9CA340
RGBrgb(156, 163, 64)
HSLhsl(64, 44%, 45%)
HSVhsv(64, 61%, 64%)
CMYKcmyk(4.3%, 0%, 60.7%, 36.1%)
CIE-LABlab(64.67, -16.08, 49.21)
CIE-LCHlch(64.67, 51.77, 108.10°)
OKLaboklab(68.99% -0.0479 0.1129)
OKLCHoklch(68.99% 0.123 113)
XYZxyz(27.7336, 33.6330, 9.8804)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA340 #4740A3
analogous
#A37840 #9CA340 #6BA340
triadic
#9CA340 #409CA3 #A3409C
tetradic
#9CA340 #40A378 #4740A3 #A3406B
square
#9CA340 #40A378 #4740A3 #A3406B
split-complementary
#9CA340 #406BA3 #7840A3
monochromatic
#484B1D #72772F #9CA340 #BAC060 #CDD28C

Accessibility & contrast

On white

2.72
#9CA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9CA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA340
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA340#FFFFFF#000000##000000
##9CA3401.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#AE9E46
Tritanopia (blue-blind)
#A69A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca340;
/* rgb */ color: rgb(156, 163, 64);
/* oklch */ color: oklch(69.0% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#bcbe79',
    500: '#9ca340',
    950: '#000000',
  },
}
SCSS
$custom: #9ca340;
$custom-light: #bcbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca340",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 64.242,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68988,
    "c": 0.12266,
    "h": 113
  },
  "luminance": 0.33632
}

Semantic roles & 50–950 ramp

primary
#9CA340
secondary
#8682BD
accent
#54D35D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA340

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

Preview Lab → · Contrast checker → · Palette generator →

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