#9DB222#9DB222

#9DB222 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.3% C 0.159 H 118.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9DB222
RGBrgb(157, 178, 34)
HSLhsl(69, 68%, 42%)
HSVhsv(69, 81%, 70%)
CMYKcmyk(11.8%, 0%, 80.9%, 30.2%)
CIE-LABlab(68.84, -24.83, 64.37)
CIE-LCHlch(68.84, 69.00, 111.09°)
OKLaboklab(72.29% -0.075 0.14)
OKLCHoklch(72.29% 0.159 118.2)
XYZxyz(30.1145, 39.1247, 7.4784)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB222 #3722B2
analogous
#B27F22 #9DB222 #55B222
triadic
#9DB222 #229DB2 #B2229D
tetradic
#9DB222 #22B27F #3722B2 #B22255
square
#9DB222 #22B27F #3722B2 #B22255
split-complementary
#9DB222 #2255B2 #7F22B2
monochromatic
#424B0E #707F18 #9DB222 #C2D938 #D1E36C

Accessibility & contrast

On white

2.38
#9DB222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#9DB222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB222
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB222#FFFFFF#000000##000000
##9DB2221.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#A7A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db222;
/* rgb */ color: rgb(157, 178, 34);
/* oklch */ color: oklch(72.3% 0.159 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec96b',
    500: '#9db222',
    950: '#000000',
  },
}
SCSS
$custom: #9db222;
$custom-light: #bec96b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db222",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 34
  },
  "hsl": {
    "h": 68.75,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.15886,
    "h": 118.2
  },
  "luminance": 0.39124
}

Semantic roles & 50–950 ramp

primary
#9DB222
secondary
#7567C9
accent
#3DEB56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB222

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

Preview Lab → · Contrast checker → · Palette generator →

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