#9CAB26#9CAB26

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

Color values

HEX#9CAB26
RGBrgb(156, 171, 38)
HSLhsl(67, 64%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(8.8%, 0%, 77.8%, 32.9%)
CIE-LABlab(66.77, -21.64, 61.32)
CIE-LCHlch(66.77, 65.03, 109.44°)
OKLaboklab(70.62% -0.0659 0.1343)
OKLCHoklch(70.62% 0.15 116.1)
XYZxyz(28.6238, 36.3341, 7.3386)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB26 #3526AB
analogous
#AB7726 #9CAB26 #59AB26
triadic
#9CAB26 #269CAB #AB269C
tetradic
#9CAB26 #26AB77 #3526AB #AB2659
square
#9CAB26 #26AB77 #3526AB #AB2659
split-complementary
#9CAB26 #2659AB #7726AB
monochromatic
#414710 #6E791B #9CAB26 #C2D33B #D2DF6D

Accessibility & contrast

On white

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

On black

8.27
#9CAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB26
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB26#FFFFFF#000000##000000
##9CAB261.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#A6A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab26;
/* rgb */ color: rgb(156, 171, 38);
/* oklch */ color: oklch(70.6% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc36c',
    500: '#9cab26',
    950: '#000000',
  },
}
SCSS
$custom: #9cab26;
$custom-light: #bdc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab26",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 66.767,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.14956,
    "h": 116.1
  },
  "luminance": 0.36334
}

Semantic roles & 50–950 ramp

primary
#9CAB26
secondary
#7268C5
accent
#41E754
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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