#9DB316#9DB316

#9DB316 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.164 H 118.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9DB316
RGBrgb(157, 179, 22)
HSLhsl(68, 78%, 39%)
HSVhsv(68, 88%, 70%)
CMYKcmyk(12.3%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.09, -25.68, 67.40)
CIE-LCHlch(69.09, 72.13, 110.86°)
OKLaboklab(72.48% -0.0781 0.1447)
OKLCHoklch(72.48% 0.164 118.4)
XYZxyz(30.1703, 39.4665, 6.7873)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB316 #2C16B3
analogous
#B37B16 #9DB316 #4EB316
triadic
#9DB316 #169DB3 #B3169D
tetradic
#9DB316 #16B37B #2C16B3 #B3164E
square
#9DB316 #16B37B #2C16B3 #B3164E
split-complementary
#9DB316 #164EB3 #7B16B3
monochromatic
#3D4609 #6D7C0F #9DB316 #C9E422 #D6EB59

Accessibility & contrast

On white

2.36
#9DB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#9DB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB316
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB316#FFFFFF#000000##000000
##9DB3161.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A800
Deuteranopia (green-blind)
#BDA92A
Tritanopia (blue-blind)
#A7A998
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db316;
/* rgb */ color: rgb(157, 179, 22);
/* oklch */ color: oklch(72.5% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#bec967',
    500: '#9db316',
    950: '#000000',
  },
}
SCSS
$custom: #9db316;
$custom-light: #bec967;
$custom-dark: #000000;
JSON
{
  "hex": "#9db316",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 68.408,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.16438,
    "h": 118.4
  },
  "luminance": 0.39466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB316

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

Preview Lab → · Contrast checker → · Palette generator →

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