#9DB422#9DB422

#9DB422 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.161 H 118.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#9DB422
RGBrgb(157, 180, 34)
HSLhsl(69, 68%, 42%)
HSVhsv(69, 81%, 71%)
CMYKcmyk(12.8%, 0%, 81.1%, 29.4%)
CIE-LABlab(69.42, -25.81, 64.88)
CIE-LCHlch(69.42, 69.82, 111.69°)
OKLaboklab(72.76% -0.0777 0.1411)
OKLCHoklch(72.76% 0.161 118.8)
XYZxyz(30.5153, 39.9263, 7.6121)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB422 #3922B4
analogous
#B48222 #9DB422 #54B422
triadic
#9DB422 #229DB4 #B4229D
tetradic
#9DB422 #22B482 #3922B4 #B42254
square
#9DB422 #22B482 #3922B4 #B42254
split-complementary
#9DB422 #2254B4 #8222B4
monochromatic
#434D0F #708118 #9DB422 #C0DA3A #D1E36D

Accessibility & contrast

On white

2.34
#9DB422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#9DB422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB422
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB422#FFFFFF#000000##000000
##9DB4221.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#A7AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db422;
/* rgb */ color: rgb(157, 180, 34);
/* oklch */ color: oklch(72.8% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#beca6c',
    500: '#9db422',
    950: '#000000',
  },
}
SCSS
$custom: #9db422;
$custom-light: #beca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9db422",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 69.452,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.16109,
    "h": 118.8
  },
  "luminance": 0.39926
}

Semantic roles & 50–950 ramp

primary
#9DB422
secondary
#7868CA
accent
#3DEB58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB422

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

Preview Lab → · Contrast checker → · Palette generator →

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