#9DB315#9DB315

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

Color values

HEX#9DB315
RGBrgb(157, 179, 21)
HSLhsl(68, 79%, 39%)
HSVhsv(68, 88%, 70%)
CMYKcmyk(12.3%, 0%, 88.3%, 29.8%)
CIE-LABlab(69.09, -25.71, 67.59)
CIE-LCHlch(69.09, 72.32, 110.82°)
OKLaboklab(72.47% -0.0782 0.1449)
OKLCHoklch(72.47% 0.165 118.3)
XYZxyz(30.1609, 39.4627, 6.7375)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB315 #2B15B3
analogous
#B37A15 #9DB315 #4EB315
triadic
#9DB315 #159DB3 #B3159D
tetradic
#9DB315 #15B37A #2B15B3 #B3154E
square
#9DB315 #15B37A #2B15B3 #B3154E
split-complementary
#9DB315 #154EB3 #7A15B3
monochromatic
#3D4508 #6D7C0F #9DB315 #CAE520 #D7EB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB315#FFFFFF#000000##000000
##9DB3151.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)
#BDA929
Tritanopia (blue-blind)
#A7A998
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db315;
/* rgb */ color: rgb(157, 179, 21);
/* oklch */ color: oklch(72.5% 0.165 118.3);
Tailwind
colors: {
  custom: {
    50: '#bec967',
    500: '#9db315',
    950: '#000000',
  },
}
SCSS
$custom: #9db315;
$custom-light: #bec967;
$custom-dark: #000000;
JSON
{
  "hex": "#9db315",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 68.354,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.72475,
    "c": 0.16467,
    "h": 118.3
  },
  "luminance": 0.39462
}

Semantic roles & 50–950 ramp

primary
#9DB315
secondary
#6656CE
accent
#32F54E
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB315

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

Preview Lab → · Contrast checker → · Palette generator →

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