#9DB416#9DB416

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

Color values

HEX#9DB416
RGBrgb(157, 180, 22)
HSLhsl(69, 78%, 40%)
HSVhsv(69, 88%, 71%)
CMYKcmyk(12.8%, 0%, 87.8%, 29.4%)
CIE-LABlab(69.38, -26.17, 67.64)
CIE-LCHlch(69.38, 72.52, 111.15°)
OKLaboklab(72.71% -0.0794 0.1452)
OKLCHoklch(72.71% 0.165 118.7)
XYZxyz(30.3715, 39.8688, 6.8544)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB416 #2D16B4
analogous
#B47C16 #9DB416 #4EB416
triadic
#9DB416 #169DB4 #B4169D
tetradic
#9DB416 #16B47C #2D16B4 #B4164E
square
#9DB416 #16B47C #2D16B4 #B4164E
split-complementary
#9DB416 #164EB4 #7C16B4
monochromatic
#3E4709 #6D7D0F #9DB416 #C8E423 #D6EB5A

Accessibility & contrast

On white

2.34
#9DB416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9DB416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB416
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB416#FFFFFF#000000##000000
##9DB4161.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#A7AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db416;
/* rgb */ color: rgb(157, 180, 22);
/* oklch */ color: oklch(72.7% 0.165 118.7);
Tailwind
colors: {
  custom: {
    50: '#beca68',
    500: '#9db416',
    950: '#000000',
  },
}
SCSS
$custom: #9db416;
$custom-light: #beca68;
$custom-dark: #000000;
JSON
{
  "hex": "#9db416",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 68.734,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.16546,
    "h": 118.7
  },
  "luminance": 0.39869
}

Semantic roles & 50–950 ramp

primary
#9DB416
secondary
#6958CE
accent
#33F54F
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB416

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

Preview Lab → · Contrast checker → · Palette generator →

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