#9CAA27#9CAA27

#9CAA27 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.148 H 115.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9CAA27
RGBrgb(156, 170, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(8.2%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.49, -21.10, 60.75)
CIE-LCHlch(66.49, 64.31, 109.15°)
OKLaboklab(70.39% -0.0643 0.1332)
OKLCHoklch(70.39% 0.148 115.8)
XYZxyz(28.4520, 35.9643, 7.3620)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA27 #3527AA
analogous
#AA7627 #9CAA27 #5AAA27
triadic
#9CAA27 #279CAA #AA279C
tetradic
#9CAA27 #27AA76 #3527AA #AA275A
square
#9CAA27 #27AA76 #3527AA #AA275A
split-complementary
#9CAA27 #275AAA #7627AA
monochromatic
#414610 #6E781C #9CAA27 #C2D23C #D2DE6E

Accessibility & contrast

On white

2.56
#9CAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9CAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA27
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA27#FFFFFF#000000##000000
##9CAA271.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A102
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa27;
/* rgb */ color: rgb(156, 170, 39);
/* oklch */ color: oklch(70.4% 0.148 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36c',
    500: '#9caa27',
    950: '#000000',
  },
}
SCSS
$custom: #9caa27;
$custom-light: #bdc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa27",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 66.412,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.14793,
    "h": 115.8
  },
  "luminance": 0.35964
}

Semantic roles & 50–950 ramp

primary
#9CAA27
secondary
#7269C4
accent
#42E654
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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