#9DB328#9DB328

#9DB328 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.157 H 118.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#9DB328
RGBrgb(157, 179, 40)
HSLhsl(69, 63%, 43%)
HSVhsv(69, 78%, 70%)
CMYKcmyk(12.3%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.16, -25.08, 62.91)
CIE-LCHlch(69.16, 67.73, 111.74°)
OKLaboklab(72.56% -0.0753 0.138)
OKLCHoklch(72.56% 0.157 118.6)
XYZxyz(30.4084, 39.5617, 8.0413)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB328 #3E28B3
analogous
#B38328 #9DB328 #58B328
triadic
#9DB328 #289DB3 #B3289D
tetradic
#9DB328 #28B383 #3E28B3 #B32858
square
#9DB328 #28B383 #3E28B3 #B32858
split-complementary
#9DB328 #2858B3 #8328B3
monochromatic
#454F12 #71811D #9DB328 #BED543 #CFE075

Accessibility & contrast

On white

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

On black

8.91
#9DB328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB328
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB328#FFFFFF#000000##000000
##9DB3281.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#A7A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db328;
/* rgb */ color: rgb(157, 179, 40);
/* oklch */ color: oklch(72.6% 0.157 118.6);
Tailwind
colors: {
  custom: {
    50: '#bec96e',
    500: '#9db328',
    950: '#000000',
  },
}
SCSS
$custom: #9db328;
$custom-light: #bec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9db328",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 69.496,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72555,
    "c": 0.15715,
    "h": 118.6
  },
  "luminance": 0.39561
}

Semantic roles & 50–950 ramp

primary
#9DB328
secondary
#7D6FC8
accent
#41E65B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB328

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

Preview Lab → · Contrast checker → · Palette generator →

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