#9CA015#9CA015

#9CA015 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.145 H 111.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9CA015
RGBrgb(156, 160, 21)
HSLhsl(62, 77%, 35%)
HSVhsv(62, 87%, 63%)
CMYKcmyk(2.5%, 0%, 86.9%, 37.3%)
CIE-LABlab(63.56, -16.63, 63.04)
CIE-LCHlch(63.56, 65.20, 104.78°)
OKLaboklab(68.02% -0.0532 0.135)
OKLCHoklch(68.02% 0.145 111.5)
XYZxyz(26.4175, 32.2644, 5.5454)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA015 #1915A0
analogous
#A05F15 #9CA015 #56A015
triadic
#9CA015 #159CA0 #A0159C
tetradic
#9CA015 #15A05F #1915A0 #A01556
square
#9CA015 #15A05F #1915A0 #A01556
split-complementary
#9CA015 #1556A0 #5F15A0
monochromatic
#333407 #676A0E #9CA015 #D1D61C #E2E748

Accessibility & contrast

On white

2.82
#9CA015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9CA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA015
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA015#FFFFFF#000000##000000
##9CA0151.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9B25
Tritanopia (blue-blind)
#A89588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca015;
/* rgb */ color: rgb(156, 160, 21);
/* oklch */ color: oklch(68.0% 0.145 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb64',
    500: '#9ca015',
    950: '#000000',
  },
}
SCSS
$custom: #9ca015;
$custom-light: #bdbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca015",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 61.727,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.68018,
    "c": 0.14512,
    "h": 111.5
  },
  "luminance": 0.32264
}

Semantic roles & 50–950 ramp

primary
#9CA015
secondary
#4C49C8
accent
#34F33A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9CA015

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

Preview Lab → · Contrast checker → · Palette generator →

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