#9FAB18#9FAB18

#9FAB18 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.154 H 114.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9FAB18
RGBrgb(159, 171, 24)
HSLhsl(65, 75%, 38%)
HSVhsv(65, 86%, 67%)
CMYKcmyk(7%, 0%, 86%, 32.9%)
CIE-LABlab(66.95, -20.82, 65.28)
CIE-LCHlch(66.95, 68.52, 107.69°)
OKLaboklab(70.8% -0.0647 0.1403)
OKLCHoklch(70.8% 0.154 114.8)
XYZxyz(29.0268, 36.5633, 6.3923)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB18 #2418AB
analogous
#AB6D18 #9FAB18 #55AB18
triadic
#9FAB18 #189FAB #AB189F
tetradic
#9FAB18 #18AB6D #2418AB #AB1855
square
#9FAB18 #18AB6D #2418AB #AB1855
split-complementary
#9FAB18 #1855AB #6D18AB
monochromatic
#3B4009 #6D7510 #9FAB18 #D0E020 #DBE756

Accessibility & contrast

On white

2.53
#9FAB18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9FAB18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB18
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB18#FFFFFF#000000##000000
##9FAB181.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A429
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab18;
/* rgb */ color: rgb(159, 171, 24);
/* oklch */ color: oklch(70.8% 0.154 114.8);
Tailwind
colors: {
  custom: {
    50: '#bfc367',
    500: '#9fab18',
    950: '#000000',
  },
}
SCSS
$custom: #9fab18;
$custom-light: #bfc367;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab18",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 24
  },
  "hsl": {
    "h": 64.898,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.15448,
    "h": 114.8
  },
  "luminance": 0.36563
}

Semantic roles & 50–950 ramp

primary
#9FAB18
secondary
#5E55CA
accent
#36F245
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAB18

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

Preview Lab → · Contrast checker → · Palette generator →

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