#9CA840#9CA840

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

Color values

HEX#9CA840
RGBrgb(156, 168, 64)
HSLhsl(67, 45%, 45%)
HSVhsv(67, 62%, 66%)
CMYKcmyk(7.1%, 0%, 61.9%, 34.1%)
CIE-LABlab(66.09, -18.64, 50.76)
CIE-LCHlch(66.09, 54.07, 110.17°)
OKLaboklab(70.13% -0.0551 0.1162)
OKLCHoklch(70.13% 0.129 115.3)
XYZxyz(28.6390, 35.4438, 10.1821)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA840 #4C40A8
analogous
#A88040 #9CA840 #68A840
triadic
#9CA840 #409CA8 #A8409C
tetradic
#9CA840 #40A880 #4C40A8 #A84068
square
#9CA840 #40A880 #4C40A8 #A84068
split-complementary
#9CA840 #4068A8 #8040A8
monochromatic
#4A4F1E #737C2F #9CA840 #B8C362 #CCD48E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA840#FFFFFF#000000##000000
##9CA8401.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)
#B3A034
Deuteranopia (green-blind)
#B2A247
Tritanopia (blue-blind)
#A59F92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca840;
/* rgb */ color: rgb(156, 168, 64);
/* oklch */ color: oklch(70.1% 0.129 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc179',
    500: '#9ca840',
    950: '#000000',
  },
}
SCSS
$custom: #9ca840;
$custom-light: #bcc179;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca840",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 66.923,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.1286,
    "h": 115.3
  },
  "luminance": 0.35443
}

Semantic roles & 50–950 ramp

primary
#9CA840
secondary
#8B85BF
accent
#53D562
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA840

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

Preview Lab → · Contrast checker → · Palette generator →

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