#9CA240#9CA240

#9CA240 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.121 H 112.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9CA240
RGBrgb(156, 162, 64)
HSLhsl(64, 43%, 44%)
HSVhsv(64, 60%, 64%)
CMYKcmyk(3.7%, 0%, 60.5%, 36.5%)
CIE-LABlab(64.39, -15.57, 48.90)
CIE-LCHlch(64.39, 51.32, 107.66°)
OKLaboklab(68.76% -0.0464 0.1123)
OKLCHoklch(68.76% 0.121 112.5)
XYZxyz(27.5567, 33.2793, 9.8214)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA240 #4640A2
analogous
#A27740 #9CA240 #6BA240
triadic
#9CA240 #409CA2 #A2409C
tetradic
#9CA240 #40A277 #4640A2 #A2406B
square
#9CA240 #40A277 #4640A2 #A2406B
split-complementary
#9CA240 #406BA2 #7740A2
monochromatic
#484A1D #72762F #9CA240 #BAC05F #CDD18B

Accessibility & contrast

On white

2.74
#9CA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9CA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA240
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA240#FFFFFF#000000##000000
##9CA2401.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#AE9D46
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca240;
/* rgb */ color: rgb(156, 162, 64);
/* oklch */ color: oklch(68.8% 0.121 112.5);
Tailwind
colors: {
  custom: {
    50: '#bcbd79',
    500: '#9ca240',
    950: '#000000',
  },
}
SCSS
$custom: #9ca240;
$custom-light: #bcbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca240",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 63.673,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68761,
    "c": 0.12149,
    "h": 112.5
  },
  "luminance": 0.33279
}

Semantic roles & 50–950 ramp

primary
#9CA240
secondary
#8582BC
accent
#55D35C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA240

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

Preview Lab → · Contrast checker → · Palette generator →

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