#9CA017#9CA017

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

Color values

HEX#9CA017
RGBrgb(156, 160, 23)
HSLhsl(62, 75%, 36%)
HSVhsv(62, 86%, 63%)
CMYKcmyk(2.5%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.57, -16.58, 62.60)
CIE-LCHlch(63.57, 64.76, 104.83°)
OKLaboklab(68.03% -0.053 0.1344)
OKLCHoklch(68.03% 0.144 111.5)
XYZxyz(26.4367, 32.2721, 5.6470)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA017 #1B17A0
analogous
#A05F17 #9CA017 #57A017
triadic
#9CA017 #179CA0 #A0179C
tetradic
#9CA017 #17A05F #1B17A0 #A01757
square
#9CA017 #17A05F #1B17A0 #A01757
split-complementary
#9CA017 #1757A0 #5F17A0
monochromatic
#343508 #686A0F #9CA017 #D0D61F #E1E54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA017#FFFFFF#000000##000000
##9CA0171.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)
#AE9B26
Tritanopia (blue-blind)
#A79588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca017;
/* rgb */ color: rgb(156, 160, 23);
/* oklch */ color: oklch(68.0% 0.144 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb65',
    500: '#9ca017',
    950: '#000000',
  },
}
SCSS
$custom: #9ca017;
$custom-light: #bdbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca017",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 61.752,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.68025,
    "c": 0.14445,
    "h": 111.5
  },
  "luminance": 0.32271
}

Semantic roles & 50–950 ramp

primary
#9CA017
secondary
#4F4CC7
accent
#36F13C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9CA017

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

Preview Lab → · Contrast checker → · Palette generator →

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