#9CA142#9CA142

#9CA142 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.119 H 111.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9CA142
RGBrgb(156, 161, 66)
HSLhsl(63, 42%, 45%)
HSVhsv(63, 59%, 63%)
CMYKcmyk(3.1%, 0%, 59%, 36.9%)
CIE-LABlab(64.12, -14.90, 47.70)
CIE-LCHlch(64.12, 49.97, 107.34°)
OKLaboklab(68.55% -0.0443 0.11)
OKLCHoklch(68.55% 0.119 111.9)
XYZxyz(27.4392, 32.9516, 10.0680)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA142 #4742A1
analogous
#A17742 #9CA142 #6DA142
triadic
#9CA142 #429CA1 #A1429C
tetradic
#9CA142 #42A177 #4742A1 #A1426D
square
#9CA142 #42A177 #4742A1 #A1426D
split-complementary
#9CA142 #426DA1 #7742A1
monochromatic
#484A1E #727630 #9CA142 #BABF62 #CDD08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA142#FFFFFF#000000##000000
##9CA1421.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)
#AC9A38
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#A6988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca142;
/* rgb */ color: rgb(156, 161, 66);
/* oklch */ color: oklch(68.6% 0.119 111.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc7a',
    500: '#9ca142',
    950: '#000000',
  },
}
SCSS
$custom: #9ca142;
$custom-light: #bbbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca142",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 63.158,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68555,
    "c": 0.11857,
    "h": 111.9
  },
  "luminance": 0.32951
}

Semantic roles & 50–950 ramp

primary
#9CA142
secondary
#8683BB
accent
#56D25D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA142

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

Preview Lab → · Contrast checker → · Palette generator →

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