#9CAA1B#9CAA1B

#9CAA1B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.153 H 115.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9CAA1B
RGBrgb(156, 170, 27)
HSLhsl(66, 73%, 39%)
HSVhsv(66, 84%, 67%)
CMYKcmyk(8.2%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.44, -21.54, 64.07)
CIE-LCHlch(66.44, 67.60, 108.58°)
OKLaboklab(70.34% -0.0664 0.1383)
OKLCHoklch(70.34% 0.153 115.6)
XYZxyz(28.2837, 35.8970, 6.4756)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA1B #291BAA
analogous
#AA701B #9CAA1B #54AA1B
triadic
#9CAA1B #1B9CAA #AA1B9C
tetradic
#9CAA1B #1BAA70 #291BAA #AA1B54
square
#9CAA1B #1BAA70 #291BAA #AA1B54
split-complementary
#9CAA1B #1B54AA #701BAA
monochromatic
#3B400A #6C7513 #9CAA1B #CBDC26 #D7E55B

Accessibility & contrast

On white

2.57
#9CAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9CAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA1B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA1B#FFFFFF#000000##000000
##9CAA1B1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32B
Tritanopia (blue-blind)
#A7A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa1b;
/* rgb */ color: rgb(156, 170, 27);
/* oklch */ color: oklch(70.3% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#bdc368',
    500: '#9caa1b',
    950: '#000000',
  },
}
SCSS
$custom: #9caa1b;
$custom-light: #bdc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa1b",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 65.874,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70335,
    "c": 0.15336,
    "h": 115.6
  },
  "luminance": 0.35897
}

Semantic roles & 50–950 ramp

primary
#9CAA1B
secondary
#6358C9
accent
#39EF4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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