#9DA921#9DA921

#9DA921 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.2% C 0.149 H 114.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9DA921
RGBrgb(157, 169, 33)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 66%)
CMYKcmyk(7.1%, 0%, 80.5%, 33.7%)
CIE-LABlab(66.25, -20.40, 62.37)
CIE-LCHlch(66.25, 65.62, 108.12°)
OKLaboklab(70.21% -0.0629 0.1356)
OKLCHoklch(70.21% 0.149 114.9)
XYZxyz(28.3680, 35.6544, 6.8261)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA921 #2D21A9
analogous
#A97121 #9DA921 #59A921
triadic
#9DA921 #219DA9 #A9219D
tetradic
#9DA921 #21A971 #2D21A9 #A92159
square
#9DA921 #21A971 #2D21A9 #A92159
split-complementary
#9DA921 #2159A9 #7121A9
monochromatic
#3E430D #6D7617 #9DA921 #C8D731 #D6E164

Accessibility & contrast

On white

2.58
#9DA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9DA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA921
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA921#FFFFFF#000000##000000
##9DA9211.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#A89F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9da921;
/* rgb */ color: rgb(157, 169, 33);
/* oklch */ color: oklch(70.2% 0.149 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec26a',
    500: '#9da921',
    950: '#000000',
  },
}
SCSS
$custom: #9da921;
$custom-light: #bec26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da921",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 65.294,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70212,
    "c": 0.14946,
    "h": 114.9
  },
  "luminance": 0.35654
}

Semantic roles & 50–950 ramp

primary
#9DA921
secondary
#6960C6
accent
#3EEA4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA921

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

Preview Lab → · Contrast checker → · Palette generator →

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