#9CA117#9CA117

#9CA117 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.145 H 112.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9CA117
RGBrgb(156, 161, 23)
HSLhsl(62, 75%, 36%)
HSVhsv(62, 86%, 63%)
CMYKcmyk(3.1%, 0%, 85.7%, 36.9%)
CIE-LABlab(63.85, -17.09, 62.84)
CIE-LCHlch(63.85, 65.12, 105.22°)
OKLaboklab(68.25% -0.0544 0.1349)
OKLCHoklch(68.25% 0.145 112)
XYZxyz(26.6108, 32.6202, 5.7050)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA117 #1C17A1
analogous
#A16117 #9CA117 #57A117
triadic
#9CA117 #179CA1 #A1179C
tetradic
#9CA117 #17A161 #1C17A1 #A11757
square
#9CA117 #17A161 #1C17A1 #A11757
split-complementary
#9CA117 #1757A1 #6117A1
monochromatic
#343608 #686B0F #9CA117 #D0D71F #E0E64D

Accessibility & contrast

On white

2.79
#9CA117 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9CA117 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA117
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA117#FFFFFF#000000##000000
##9CA1171.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C26
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca117;
/* rgb */ color: rgb(156, 161, 23);
/* oklch */ color: oklch(68.3% 0.145 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc65',
    500: '#9ca117',
    950: '#000000',
  },
}
SCSS
$custom: #9ca117;
$custom-light: #bdbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca117",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 62.174,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.68254,
    "c": 0.14545,
    "h": 112
  },
  "luminance": 0.3262
}

Semantic roles & 50–950 ramp

primary
#9CA117
secondary
#514CC7
accent
#36F23D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9CA117

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

Preview Lab → · Contrast checker → · Palette generator →

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