#9EAB18#9EAB18

#9EAB18 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.155 H 115.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9EAB18
RGBrgb(158, 171, 24)
HSLhsl(65, 75%, 38%)
HSVhsv(65, 86%, 67%)
CMYKcmyk(7.6%, 0%, 86%, 32.9%)
CIE-LABlab(66.87, -21.26, 65.19)
CIE-LCHlch(66.87, 68.57, 108.06°)
OKLaboklab(70.71% -0.0659 0.1401)
OKLCHoklch(70.71% 0.155 115.2)
XYZxyz(28.8292, 36.4614, 6.3830)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB18 #2518AB
analogous
#AB6E18 #9EAB18 #54AB18
triadic
#9EAB18 #189EAB #AB189E
tetradic
#9EAB18 #18AB6E #2518AB #AB1854
square
#9EAB18 #18AB6E #2518AB #AB1854
split-complementary
#9EAB18 #1854AB #6E18AB
monochromatic
#3B4009 #6C7510 #9EAB18 #CFE020 #DAE756

Accessibility & contrast

On white

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

On black

8.29
#9EAB18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB18
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB18#FFFFFF#000000##000000
##9EAB181.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eab18;
/* rgb */ color: rgb(158, 171, 24);
/* oklch */ color: oklch(70.7% 0.155 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc367',
    500: '#9eab18',
    950: '#000000',
  },
}
SCSS
$custom: #9eab18;
$custom-light: #bfc367;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab18",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 24
  },
  "hsl": {
    "h": 65.306,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.15481,
    "h": 115.2
  },
  "luminance": 0.36461
}

Semantic roles & 50–950 ramp

primary
#9EAB18
secondary
#5F55CA
accent
#36F246
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAB18

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

Preview Lab → · Contrast checker → · Palette generator →

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