#9DAB18#9DAB18

#9DAB18 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.155 H 115.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9DAB18
RGBrgb(157, 171, 24)
HSLhsl(66, 75%, 38%)
HSVhsv(66, 86%, 67%)
CMYKcmyk(8.2%, 0%, 86%, 32.9%)
CIE-LABlab(66.79, -21.69, 65.09)
CIE-LCHlch(66.79, 68.61, 108.43°)
OKLaboklab(70.63% -0.067 0.1399)
OKLCHoklch(70.63% 0.155 115.6)
XYZxyz(28.6333, 36.3604, 6.3739)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB18 #2618AB
analogous
#AB6F18 #9DAB18 #53AB18
triadic
#9DAB18 #189DAB #AB189D
tetradic
#9DAB18 #18AB6F #2618AB #AB1853
square
#9DAB18 #18AB6F #2618AB #AB1853
split-complementary
#9DAB18 #1853AB #6F18AB
monochromatic
#3A4009 #6C7510 #9DAB18 #CEE020 #D9E756

Accessibility & contrast

On white

2.54
#9DAB18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9DAB18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB18
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB18#FFFFFF#000000##000000
##9DAB181.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A329
Tritanopia (blue-blind)
#A8A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9dab18;
/* rgb */ color: rgb(157, 171, 24);
/* oklch */ color: oklch(70.6% 0.155 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec367',
    500: '#9dab18',
    950: '#000000',
  },
}
SCSS
$custom: #9dab18;
$custom-light: #bec367;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab18",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 24
  },
  "hsl": {
    "h": 65.714,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70634,
    "c": 0.15516,
    "h": 115.6
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

primary
#9DAB18
secondary
#6055CA
accent
#36F248
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DAB18

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

Preview Lab → · Contrast checker → · Palette generator →

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