#9EAC25#9EAC25

#9EAC25 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#9EAC25
RGBrgb(158, 172, 37)
HSLhsl(66, 65%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(8.1%, 0%, 78.5%, 32.5%)
CIE-LABlab(67.21, -21.32, 62.08)
CIE-LCHlch(67.21, 65.64, 108.96°)
OKLaboklab(71% -0.0652 0.1356)
OKLCHoklch(71% 0.15 115.7)
XYZxyz(29.1878, 36.9082, 7.3363)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC25 #3325AC
analogous
#AC7625 #9EAC25 #5AAC25
triadic
#9EAC25 #259EAC #AC259E
tetradic
#9EAC25 #25AC76 #3325AC #AC255A
square
#9EAC25 #25AC76 #3325AC #AC255A
split-complementary
#9EAC25 #255AAC #7625AC
monochromatic
#41470F #707A1A #9EAC25 #C4D53A #D3DF6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC25#FFFFFF#000000##000000
##9EAC251.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)
#B8A532
Tritanopia (blue-blind)
#A9A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac25;
/* rgb */ color: rgb(158, 172, 37);
/* oklch */ color: oklch(71.0% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46c',
    500: '#9eac25',
    950: '#000000',
  },
}
SCSS
$custom: #9eac25;
$custom-light: #bec46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac25",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 66.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71002,
    "c": 0.15048,
    "h": 115.7
  },
  "luminance": 0.36908
}

Semantic roles & 50–950 ramp

primary
#9EAC25
secondary
#7167C6
accent
#40E852
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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