#9DA421#9DA421

#9DA421 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.144 H 112.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9DA421
RGBrgb(157, 164, 33)
HSLhsl(63, 66%, 39%)
HSVhsv(63, 80%, 64%)
CMYKcmyk(4.3%, 0%, 79.9%, 35.7%)
CIE-LABlab(64.83, -17.87, 61.10)
CIE-LCHlch(64.83, 63.66, 106.30°)
OKLaboklab(69.07% -0.0559 0.1329)
OKLCHoklch(69.07% 0.144 112.8)
XYZxyz(27.4555, 33.8295, 6.5220)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA421 #2821A4
analogous
#A46921 #9DA421 #5BA421
triadic
#9DA421 #219DA4 #A4219D
tetradic
#9DA421 #21A469 #2821A4 #A4215B
square
#9DA421 #21A469 #2821A4 #A4215B
split-complementary
#9DA421 #215BA4 #6921A4
monochromatic
#3B3E0C #6C7117 #9DA421 #CCD52D #D8DF60

Accessibility & contrast

On white

2.70
#9DA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9DA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA421
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA421#FFFFFF#000000##000000
##9DA4211.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B19F2D
Tritanopia (blue-blind)
#A89A8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da421;
/* rgb */ color: rgb(157, 164, 33);
/* oklch */ color: oklch(69.1% 0.144 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebe69',
    500: '#9da421',
    950: '#000000',
  },
}
SCSS
$custom: #9da421;
$custom-light: #bebe69;
$custom-dark: #000000;
JSON
{
  "hex": "#9da421",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 63.206,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69067,
    "c": 0.14415,
    "h": 112.8
  },
  "luminance": 0.33829
}

Semantic roles & 50–950 ramp

primary
#9DA421
secondary
#625DC4
accent
#3EE948
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA421

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

Preview Lab → · Contrast checker → · Palette generator →

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