#9DA721#9DA721

#9DA721 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.147 H 114.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9DA721
RGBrgb(157, 167, 33)
HSLhsl(64, 67%, 39%)
HSVhsv(64, 80%, 65%)
CMYKcmyk(6%, 0%, 80.2%, 34.5%)
CIE-LABlab(65.68, -19.39, 61.86)
CIE-LCHlch(65.68, 64.83, 107.41°)
OKLaboklab(69.75% -0.0601 0.1345)
OKLCHoklch(69.75% 0.147 114.1)
XYZxyz(27.9987, 34.9159, 6.7031)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA721 #2B21A7
analogous
#A76E21 #9DA721 #5AA721
triadic
#9DA721 #219DA7 #A7219D
tetradic
#9DA721 #21A76E #2B21A7 #A7215A
square
#9DA721 #21A76E #2B21A7 #A7215A
split-complementary
#9DA721 #215AA7 #6E21A7
monochromatic
#3D410D #6D7417 #9DA721 #CAD62F #D7E062

Accessibility & contrast

On white

2.63
#9DA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9DA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA721
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA721#FFFFFF#000000##000000
##9DA7211.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#A89D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da721;
/* rgb */ color: rgb(157, 167, 33);
/* oklch */ color: oklch(69.8% 0.147 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec169',
    500: '#9da721',
    950: '#000000',
  },
}
SCSS
$custom: #9da721;
$custom-light: #bec169;
$custom-dark: #000000;
JSON
{
  "hex": "#9da721",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 64.478,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69753,
    "c": 0.14732,
    "h": 114.1
  },
  "luminance": 0.34915
}

Semantic roles & 50–950 ramp

primary
#9DA721
secondary
#665FC5
accent
#3EEA4B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA721

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

Preview Lab → · Contrast checker → · Palette generator →

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