#9CAB27#9CAB27

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

Color values

HEX#9CAB27
RGBrgb(156, 171, 39)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(8.8%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.78, -21.60, 61.01)
CIE-LCHlch(66.78, 64.72, 109.49°)
OKLaboklab(70.62% -0.0657 0.1338)
OKLCHoklch(70.62% 0.149 116.1)
XYZxyz(28.6402, 36.3406, 7.4248)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB27 #3627AB
analogous
#AB7827 #9CAB27 #5AAB27
triadic
#9CAB27 #279CAB #AB279C
tetradic
#9CAB27 #27AB78 #3627AB #AB275A
square
#9CAB27 #27AB78 #3627AB #AB275A
split-complementary
#9CAB27 #275AAB #7827AB
monochromatic
#414710 #6F791C #9CAB27 #C2D33D #D1DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAB27#FFFFFF#000000##000000
##9CAB271.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)
#B7A202
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A6A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab27;
/* rgb */ color: rgb(156, 171, 39);
/* oklch */ color: oklch(70.6% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc36c',
    500: '#9cab27',
    950: '#000000',
  },
}
SCSS
$custom: #9cab27;
$custom-light: #bdc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab27",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 66.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70623,
    "c": 0.14904,
    "h": 116.1
  },
  "luminance": 0.3634
}

Semantic roles & 50–950 ramp

primary
#9CAB27
secondary
#7469C5
accent
#42E655
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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