#9CA751#9CA751

#9CA751 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.112 H 115.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9CA751
RGBrgb(156, 167, 81)
HSLhsl(68, 35%, 49%)
HSVhsv(68, 51%, 65%)
CMYKcmyk(6.6%, 0%, 51.5%, 34.5%)
CIE-LABlab(65.98, -16.70, 42.69)
CIE-LCHlch(65.98, 45.85, 111.37°)
OKLaboklab(70.09% -0.0478 0.1009)
OKLCHoklch(70.09% 0.112 115.4)
XYZxyz(29.0147, 35.2998, 13.0680)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA751 #5C51A7
analogous
#A78751 #9CA751 #71A751
triadic
#9CA751 #519CA7 #A7519C
tetradic
#9CA751 #51A787 #5C51A7 #A75171
square
#9CA751 #51A787 #5C51A7 #A75171
split-complementary
#9CA751 #5171A7 #8751A7
monochromatic
#4F5529 #767E3D #9CA751 #B5BD78 #CBD1A1

Accessibility & contrast

On white

2.61
#9CA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9CA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA751
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA751#FFFFFF#000000##000000
##9CA7511.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A049
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#A49F93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca751;
/* rgb */ color: rgb(156, 167, 81);
/* oklch */ color: oklch(70.1% 0.112 115.4);
Tailwind
colors: {
  custom: {
    50: '#bbc184',
    500: '#9ca751',
    950: '#000000',
  },
}
SCSS
$custom: #9ca751;
$custom-light: #bbc184;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca751",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 67.674,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70093,
    "c": 0.11164,
    "h": 115.4
  },
  "luminance": 0.35299
}

Semantic roles & 50–950 ramp

primary
#9CA751
secondary
#9B95BF
accent
#5DCB6B
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA751

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

Preview Lab → · Contrast checker → · Palette generator →

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