#9DA021#9DA021

#9DA021 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.2% C 0.140 H 111.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9DA021
RGBrgb(157, 160, 33)
HSLhsl(61, 66%, 38%)
HSVhsv(61, 79%, 63%)
CMYKcmyk(1.9%, 0%, 79.4%, 37.3%)
CIE-LABlab(63.69, -15.82, 60.09)
CIE-LCHlch(63.69, 62.14, 104.75°)
OKLaboklab(68.16% -0.0502 0.1307)
OKLCHoklch(68.16% 0.14 111)
XYZxyz(26.7509, 32.4203, 6.2871)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA021 #2421A0
analogous
#A06321 #9DA021 #5EA021
triadic
#9DA021 #219DA0 #A0219D
tetradic
#9DA021 #21A063 #2421A0 #A0215E
square
#9DA021 #21A063 #2421A0 #A0215E
split-complementary
#9DA021 #215EA0 #6321A0
monochromatic
#393B0C #6B6D17 #9DA021 #CFD32B #DBDE5E

Accessibility & contrast

On white

2.81
#9DA021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9DA021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA021
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA021#FFFFFF#000000##000000
##9DA0211.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#A89689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da021;
/* rgb */ color: rgb(157, 160, 33);
/* oklch */ color: oklch(68.2% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9da021',
    950: '#000000',
  },
}
SCSS
$custom: #9da021;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9da021",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 61.417,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.14001,
    "h": 111
  },
  "luminance": 0.3242
}

Semantic roles & 50–950 ramp

primary
#9DA021
secondary
#5D5BC2
accent
#3FE943
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9DA021

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

Preview Lab → · Contrast checker → · Palette generator →

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