#9CAB3D#9CAB3D

#9CAB3D is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.8% C 0.135 H 116.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9CAB3D
RGBrgb(156, 171, 61)
HSLhsl(68, 47%, 45%)
HSVhsv(68, 64%, 67%)
CMYKcmyk(8.8%, 0%, 64.3%, 32.9%)
CIE-LABlab(66.92, -20.37, 52.94)
CIE-LCHlch(66.92, 56.73, 111.05°)
OKLaboklab(70.79% -0.0602 0.1204)
OKLCHoklch(70.79% 0.135 116.6)
XYZxyz(29.1161, 36.5310, 9.9313)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB3D #4C3DAB
analogous
#AB833D #9CAB3D #65AB3D
triadic
#9CAB3D #3D9CAB #AB3D9C
tetradic
#9CAB3D #3DAB83 #4C3DAB #AB3D65
square
#9CAB3D #3DAB83 #4C3DAB #AB3D65
split-complementary
#9CAB3D #3D65AB #833DAB
monochromatic
#4A511D #737E2D #9CAB3D #B8C65F #CCD68C

Accessibility & contrast

On white

2.53
#9CAB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9CAB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB3D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB3D#FFFFFF#000000##000000
##9CAB3D1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#B5A445
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab3d;
/* rgb */ color: rgb(156, 171, 61);
/* oklch */ color: oklch(70.8% 0.135 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc378',
    500: '#9cab3d',
    950: '#000000',
  },
}
SCSS
$custom: #9cab3d;
$custom-light: #bcc378;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab3d",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 68.182,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70785,
    "c": 0.13464,
    "h": 116.6
  },
  "luminance": 0.36531
}

Semantic roles & 50–950 ramp

primary
#9CAB3D
secondary
#8B83C1
accent
#51D763
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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