#9DAC23#9DAC23

#9DAC23 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#9DAC23
RGBrgb(157, 172, 35)
HSLhsl(67, 66%, 41%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(8.7%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.12, -21.83, 62.57)
CIE-LCHlch(67.12, 66.26, 109.24°)
OKLaboklab(70.91% -0.0667 0.1364)
OKLCHoklch(70.91% 0.152 116.1)
XYZxyz(28.9613, 36.7949, 7.1663)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC23 #3223AC
analogous
#AC7623 #9DAC23 #59AC23
triadic
#9DAC23 #239DAC #AC239D
tetradic
#9DAC23 #23AC76 #3223AC #AC2359
square
#9DAC23 #23AC76 #3223AC #AC2359
split-complementary
#9DAC23 #2359AC #7623AC
monochromatic
#40460E #6F7919 #9DAC23 #C5D636 #D3E069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAC23#FFFFFF#000000##000000
##9DAC231.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)
#B8A300
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac23;
/* rgb */ color: rgb(157, 172, 35);
/* oklch */ color: oklch(70.9% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#bec46b',
    500: '#9dac23',
    950: '#000000',
  },
}
SCSS
$custom: #9dac23;
$custom-light: #bec46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac23",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 66.569,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70912,
    "c": 0.15179,
    "h": 116.1
  },
  "luminance": 0.36794
}

Semantic roles & 50–950 ramp

primary
#9DAC23
secondary
#6F64C6
accent
#3FE951
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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