#9CA157#9CA157

#9CA157 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.098 H 112.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9CA157
RGBrgb(156, 161, 87)
HSLhsl(64, 30%, 49%)
HSVhsv(64, 46%, 63%)
CMYKcmyk(3.1%, 0%, 46%, 36.9%)
CIE-LABlab(64.36, -12.99, 37.73)
CIE-LCHlch(64.36, 39.91, 109.00°)
OKLaboklab(68.82% -0.0367 0.0905)
OKLCHoklch(68.82% 0.098 112.1)
XYZxyz(28.1759, 33.2463, 13.9479)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA157 #5C57A1
analogous
#A18157 #9CA157 #77A157
triadic
#9CA157 #579CA1 #A1579C
tetradic
#9CA157 #57A181 #5C57A1 #A15777
square
#9CA157 #57A181 #5C57A1 #A15777
split-complementary
#9CA157 #5777A1 #8157A1
monochromatic
#4F522C #767942 #9CA157 #B5B97D #CBCEA4

Accessibility & contrast

On white

2.75
#9CA157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9CA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA157
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA157#FFFFFF#000000##000000
##9CA1571.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B51
Deuteranopia (green-blind)
#AB9D5B
Tritanopia (blue-blind)
#A49990
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca157;
/* rgb */ color: rgb(156, 161, 87);
/* oklch */ color: oklch(68.8% 0.098 112.1);
Tailwind
colors: {
  custom: {
    50: '#babc88',
    500: '#9ca157',
    950: '#000000',
  },
}
SCSS
$custom: #9ca157;
$custom-light: #babc88;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca157",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 64.054,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.09761,
    "h": 112.1
  },
  "luminance": 0.33246
}

Semantic roles & 50–950 ramp

primary
#9CA157
secondary
#9B98BC
accent
#62C668
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA157

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

Preview Lab → · Contrast checker → · Palette generator →

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