#9CAB2C#9CAB2C

#9CAB2C is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.146 H 116.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9CAB2C
RGBrgb(156, 171, 44)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.8%, 0%, 74.3%, 32.9%)
CIE-LABlab(66.81, -21.37, 59.39)
CIE-LCHlch(66.81, 63.11, 109.79°)
OKLaboklab(70.65% -0.0646 0.1312)
OKLCHoklch(70.65% 0.146 116.2)
XYZxyz(28.7286, 36.3760, 7.8903)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2C #3B2CAB
analogous
#AB7B2C #9CAB2C #5CAB2C
triadic
#9CAB2C #2C9CAB #AB2C9C
tetradic
#9CAB2C #2CAB7B #3B2CAB #AB2C5C
square
#9CAB2C #2CAB7B #3B2CAB #AB2C5C
split-complementary
#9CAB2C #2C5CAB #7B2CAB
monochromatic
#434A13 #707A1F #9CAB2C #BFCF45 #D0DC76

Accessibility & contrast

On white

2.54
#9CAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#9CAB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB2C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB2C#FFFFFF#000000##000000
##9CAB2C1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A211
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab2c;
/* rgb */ color: rgb(156, 171, 44);
/* oklch */ color: oklch(70.7% 0.146 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9cab2c',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2c;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2c",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 67.087,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.14628,
    "h": 116.2
  },
  "luminance": 0.36376
}

Semantic roles & 50–950 ramp

primary
#9CAB2C
secondary
#796FC3
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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