#9CAB18#9CAB18

#9CAB18 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.156 H 116.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9CAB18
RGBrgb(156, 171, 24)
HSLhsl(66, 75%, 38%)
HSVhsv(66, 86%, 67%)
CMYKcmyk(8.8%, 0%, 86%, 32.9%)
CIE-LABlab(66.72, -22.12, 65.00)
CIE-LCHlch(66.72, 68.66, 108.80°)
OKLaboklab(70.55% -0.0682 0.1398)
OKLCHoklch(70.55% 0.156 116)
XYZxyz(28.4389, 36.2601, 6.3647)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB18 #2718AB
analogous
#AB7018 #9CAB18 #53AB18
triadic
#9CAB18 #189CAB #AB189C
tetradic
#9CAB18 #18AB70 #2718AB #AB1853
square
#9CAB18 #18AB70 #2718AB #AB1853
split-complementary
#9CAB18 #1853AB #7018AB
monochromatic
#3A4009 #6B7510 #9CAB18 #CCE020 #D8E756

Accessibility & contrast

On white

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

On black

8.25
#9CAB18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB18
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB18#FFFFFF#000000##000000
##9CAB181.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A329
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab18;
/* rgb */ color: rgb(156, 171, 24);
/* oklch */ color: oklch(70.6% 0.156 116.0);
Tailwind
colors: {
  custom: {
    50: '#bdc367',
    500: '#9cab18',
    950: '#000000',
  },
}
SCSS
$custom: #9cab18;
$custom-light: #bdc367;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab18",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 24
  },
  "hsl": {
    "h": 66.122,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.15551,
    "h": 116
  },
  "luminance": 0.3626
}

Semantic roles & 50–950 ramp

primary
#9CAB18
secondary
#6155CA
accent
#36F249
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAB18

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

Preview Lab → · Contrast checker → · Palette generator →

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