#9CA927#9CA927

#9CA927 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.147 H 115.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9CA927
RGBrgb(156, 169, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 66%)
CMYKcmyk(7.7%, 0%, 76.9%, 33.7%)
CIE-LABlab(66.21, -20.60, 60.49)
CIE-LCHlch(66.21, 63.90, 108.80°)
OKLaboklab(70.16% -0.0629 0.1327)
OKLCHoklch(70.16% 0.147 115.4)
XYZxyz(28.2653, 35.5908, 7.2998)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA927 #3427A9
analogous
#A97527 #9CA927 #5BA927
triadic
#9CA927 #279CA9 #A9279C
tetradic
#9CA927 #27A975 #3427A9 #A9275B
square
#9CA927 #27A975 #3427A9 #A9275B
split-complementary
#9CA927 #275BA9 #7527A9
monochromatic
#404610 #6E771C #9CA927 #C3D23B #D2DD6D

Accessibility & contrast

On white

2.59
#9CA927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9CA927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA927
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA927#FFFFFF#000000##000000
##9CA9271.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#A69F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca927;
/* rgb */ color: rgb(156, 169, 39);
/* oklch */ color: oklch(70.2% 0.147 115.4);
Tailwind
colors: {
  custom: {
    50: '#bdc26c',
    500: '#9ca927',
    950: '#000000',
  },
}
SCSS
$custom: #9ca927;
$custom-light: #bdc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca927",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.14683,
    "h": 115.4
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#9CA927
secondary
#7168C4
accent
#42E653
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA927

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

Preview Lab → · Contrast checker → · Palette generator →

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