#9CA271#9CA271

#9CA271 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.068 H 113.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9CA271
RGBrgb(156, 162, 113)
HSLhsl(67, 21%, 54%)
HSVhsv(67, 30%, 64%)
CMYKcmyk(3.7%, 0%, 30.2%, 36.5%)
CIE-LABlab(65.04, -10.37, 24.84)
CIE-LCHlch(65.04, 26.91, 112.66°)
OKLaboklab(69.5% -0.0275 0.0621)
OKLCHoklch(69.5% 0.068 113.9)
XYZxyz(29.6112, 34.1011, 20.6418)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA271 #7771A2
analogous
#A29071 #9CA271 #84A271
triadic
#9CA271 #719CA2 #A2719C
tetradic
#9CA271 #71A290 #7771A2 #A27184
square
#9CA271 #71A290 #7771A2 #A27184
split-complementary
#9CA271 #7184A2 #9071A2
monochromatic
#585C3C #7C8155 #9CA271 #B6BA96 #D0D2BB

Accessibility & contrast

On white

2.69
#9CA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9CA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA271
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA271#FFFFFF#000000##000000
##9CA2711.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6E
Deuteranopia (green-blind)
#A99E73
Tritanopia (blue-blind)
#A29C95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca271;
/* rgb */ color: rgb(156, 162, 113);
/* oklch */ color: oklch(69.5% 0.068 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bd9a',
    500: '#9ca271',
    950: '#000000',
  },
}
SCSS
$custom: #9ca271;
$custom-light: #b9bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca271",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 67.347,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.06788,
    "h": 113.9
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#9CA271
secondary
#B0ADC2
accent
#6ABD75
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9CA271

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

Preview Lab → · Contrast checker → · Palette generator →

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