#9DAC22#9DAC22

#9DAC22 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.152 H 116.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#9DAC22
RGBrgb(157, 172, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(8.7%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.12, -21.87, 62.85)
CIE-LCHlch(67.12, 66.54, 109.19°)
OKLaboklab(70.91% -0.0669 0.1368)
OKLCHoklch(70.91% 0.152 116.1)
XYZxyz(28.9467, 36.7891, 7.0892)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC22 #3122AC
analogous
#AC7622 #9DAC22 #58AC22
triadic
#9DAC22 #229DAC #AC229D
tetradic
#9DAC22 #22AC76 #3122AC #AC2258
square
#9DAC22 #22AC76 #3122AC #AC2258
split-complementary
#9DAC22 #2258AC #7622AC
monochromatic
#40460E #6E7918 #9DAC22 #C5D734 #D4E167

Accessibility & contrast

On white

2.51
#9DAC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#9DAC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC22
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC22#FFFFFF#000000##000000
##9DAC221.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac22;
/* rgb */ color: rgb(157, 172, 34);
/* oklch */ color: oklch(70.9% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#bec46b',
    500: '#9dac22',
    950: '#000000',
  },
}
SCSS
$custom: #9dac22;
$custom-light: #bec46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac22",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 66.522,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.15225,
    "h": 116.1
  },
  "luminance": 0.36789
}

Semantic roles & 50–950 ramp

primary
#9DAC22
secondary
#6E63C7
accent
#3EEA51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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