#9CA841#9CA841

#9CA841 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.128 H 115.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9CA841
RGBrgb(156, 168, 65)
HSLhsl(67, 44%, 46%)
HSVhsv(67, 61%, 66%)
CMYKcmyk(7.1%, 0%, 61.3%, 34.1%)
CIE-LABlab(66.10, -18.57, 50.33)
CIE-LCHlch(66.10, 53.64, 110.25°)
OKLaboklab(70.14% -0.0547 0.1154)
OKLCHoklch(70.14% 0.128 115.4)
XYZxyz(28.6677, 35.4553, 10.3334)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA841 #4D41A8
analogous
#A88041 #9CA841 #68A841
triadic
#9CA841 #419CA8 #A8419C
tetradic
#9CA841 #41A880 #4D41A8 #A84168
square
#9CA841 #41A880 #4D41A8 #A84168
split-complementary
#9CA841 #4168A8 #8041A8
monochromatic
#4A501F #737C30 #9CA841 #B8C363 #CCD490

Accessibility & contrast

On white

2.60
#9CA841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9CA841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA841
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA841#FFFFFF#000000##000000
##9CA8411.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A035
Deuteranopia (green-blind)
#B2A248
Tritanopia (blue-blind)
#A59F92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca841;
/* rgb */ color: rgb(156, 168, 65);
/* oklch */ color: oklch(70.1% 0.128 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc17a',
    500: '#9ca841',
    950: '#000000',
  },
}
SCSS
$custom: #9ca841;
$custom-light: #bcc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca841",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 66.99,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.12777,
    "h": 115.4
  },
  "luminance": 0.35455
}

Semantic roles & 50–950 ramp

primary
#9CA841
secondary
#8C86BF
accent
#54D463
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA841

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

Preview Lab → · Contrast checker → · Palette generator →

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