#9CB316#9CB316

#9CB316 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.4% C 0.165 H 118.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9CB316
RGBrgb(156, 179, 22)
HSLhsl(69, 78%, 39%)
HSVhsv(69, 88%, 70%)
CMYKcmyk(12.8%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.02, -26.11, 67.31)
CIE-LCHlch(69.02, 72.20, 111.20°)
OKLaboklab(72.4% -0.0792 0.1445)
OKLCHoklch(72.4% 0.165 118.7)
XYZxyz(29.9760, 39.3663, 6.7782)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB316 #2D16B3
analogous
#B37C16 #9CB316 #4EB316
triadic
#9CB316 #169CB3 #B3169C
tetradic
#9CB316 #16B37C #2D16B3 #B3164E
square
#9CB316 #16B37C #2D16B3 #B3164E
split-complementary
#9CB316 #164EB3 #7C16B3
monochromatic
#3D4609 #6D7C0F #9CB316 #C8E422 #D5EB59

Accessibility & contrast

On white

2.37
#9CB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9CB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB316
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB316#FFFFFF#000000##000000
##9CB3161.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDA92A
Tritanopia (blue-blind)
#A6A998
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb316;
/* rgb */ color: rgb(156, 179, 22);
/* oklch */ color: oklch(72.4% 0.165 118.7);
Tailwind
colors: {
  custom: {
    50: '#bdc967',
    500: '#9cb316',
    950: '#000000',
  },
}
SCSS
$custom: #9cb316;
$custom-light: #bdc967;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb316",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 68.79,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72401,
    "c": 0.16477,
    "h": 118.7
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#9CB316
secondary
#6857CE
accent
#33F550
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB316

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

Preview Lab → · Contrast checker → · Palette generator →

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