#9EAC26#9EAC26

#9EAC26 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.150 H 115.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9EAC26
RGBrgb(158, 172, 38)
HSLhsl(66, 64%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(8.1%, 0%, 77.9%, 32.5%)
CIE-LABlab(67.21, -21.28, 61.78)
CIE-LCHlch(67.21, 65.34, 109.01°)
OKLaboklab(71.01% -0.065 0.1352)
OKLCHoklch(71.01% 0.15 115.7)
XYZxyz(29.2037, 36.9146, 7.4201)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC26 #3426AC
analogous
#AC7726 #9EAC26 #5BAC26
triadic
#9EAC26 #269EAC #AC269E
tetradic
#9EAC26 #26AC77 #3426AC #AC265B
square
#9EAC26 #26AC77 #3426AC #AC265B
split-complementary
#9EAC26 #265BAC #7726AC
monochromatic
#424810 #707A1B #9EAC26 #C4D43B #D3DF6E

Accessibility & contrast

On white

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

On black

8.38
#9EAC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC26
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC26#FFFFFF#000000##000000
##9EAC261.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A532
Tritanopia (blue-blind)
#A8A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac26;
/* rgb */ color: rgb(158, 172, 38);
/* oklch */ color: oklch(71.0% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46c',
    500: '#9eac26',
    950: '#000000',
  },
}
SCSS
$custom: #9eac26;
$custom-light: #bec46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac26",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 66.269,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.14999,
    "h": 115.7
  },
  "luminance": 0.36914
}

Semantic roles & 50–950 ramp

primary
#9EAC26
secondary
#7268C5
accent
#41E752
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC26

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

Preview Lab → · Contrast checker → · Palette generator →

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