#9EAC23#9EAC23

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

Color values

HEX#9EAC23
RGBrgb(158, 172, 35)
HSLhsl(66, 66%, 41%)
HSVhsv(66, 80%, 67%)
CMYKcmyk(8.1%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.20, -21.40, 62.66)
CIE-LCHlch(67.20, 66.22, 108.86°)
OKLaboklab(70.99% -0.0656 0.1365)
OKLCHoklch(70.99% 0.151 115.7)
XYZxyz(29.1573, 36.8960, 7.1754)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC23 #3123AC
analogous
#AC7523 #9EAC23 #5AAC23
triadic
#9EAC23 #239EAC #AC239E
tetradic
#9EAC23 #23AC75 #3123AC #AC235A
square
#9EAC23 #23AC75 #3123AC #AC235A
split-complementary
#9EAC23 #235AAC #7523AC
monochromatic
#41460E #6F7919 #9EAC23 #C6D636 #D4E069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9eac23;
/* rgb */ color: rgb(158, 172, 35);
/* oklch */ color: oklch(71.0% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46b',
    500: '#9eac23',
    950: '#000000',
  },
}
SCSS
$custom: #9eac23;
$custom-light: #bec46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac23",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 66.131,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70992,
    "c": 0.15145,
    "h": 115.7
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#9EAC23
secondary
#6E64C6
accent
#3FE950
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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