#9DAC26#9DAC26

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

Color values

HEX#9DAC26
RGBrgb(157, 172, 38)
HSLhsl(67, 64%, 41%)
HSVhsv(67, 78%, 67%)
CMYKcmyk(8.7%, 0%, 77.9%, 32.5%)
CIE-LABlab(67.14, -21.71, 61.68)
CIE-LCHlch(67.14, 65.39, 109.39°)
OKLaboklab(70.93% -0.0661 0.135)
OKLCHoklch(70.93% 0.15 116.1)
XYZxyz(29.0078, 36.8135, 7.4110)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC26 #3526AC
analogous
#AC7826 #9DAC26 #5AAC26
triadic
#9DAC26 #269DAC #AC269D
tetradic
#9DAC26 #26AC78 #3526AC #AC265A
square
#9DAC26 #26AC78 #3526AC #AC265A
split-complementary
#9DAC26 #265AAC #7826AC
monochromatic
#414810 #6F7A1B #9DAC26 #C3D43B #D2DF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAC26#FFFFFF#000000##000000
##9DAC261.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)
#B7A433
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac26;
/* rgb */ color: rgb(157, 172, 38);
/* oklch */ color: oklch(70.9% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bec46c',
    500: '#9dac26',
    950: '#000000',
  },
}
SCSS
$custom: #9dac26;
$custom-light: #bec46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac26",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 66.716,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.15033,
    "h": 116.1
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

primary
#9DAC26
secondary
#7368C5
accent
#41E754
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAC26

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

Preview Lab → · Contrast checker → · Palette generator →

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