#9EBA42#9EBA42

#9EBA42 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.4% C 0.148 H 121.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#9EBA42
RGBrgb(158, 186, 66)
HSLhsl(74, 48%, 49%)
HSVhsv(74, 65%, 73%)
CMYKcmyk(15.1%, 0%, 64.5%, 27.1%)
CIE-LABlab(71.41, -26.60, 55.64)
CIE-LCHlch(71.41, 61.67, 115.55°)
OKLaboklab(74.44% -0.0772 0.1268)
OKLCHoklch(74.44% 0.148 121.3)
XYZxyz(32.6432, 42.7803, 11.6909)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBA42 #5E42BA
analogous
#BA9A42 #9EBA42 #62BA42
triadic
#9EBA42 #429EBA #BA429E
tetradic
#9EBA42 #42BA9A #5E42BA #BA4262
square
#9EBA42 #42BA9A #5E42BA #BA4262
split-complementary
#9EBA42 #4262BA #9A42BA
monochromatic
#516022 #788D32 #9EBA42 #B6CB6E #CCDB9B

Accessibility & contrast

On white

2.20
#9EBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#9EBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EBA42
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EBA42#FFFFFF#000000##000000
##9EBA421.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF32
Deuteranopia (green-blind)
#C1AF4B
Tritanopia (blue-blind)
#A6B1A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9eba42;
/* rgb */ color: rgb(158, 186, 66);
/* oklch */ color: oklch(74.4% 0.148 121.3);
Tailwind
colors: {
  custom: {
    50: '#bdce7c',
    500: '#9eba42',
    950: '#000000',
  },
}
SCSS
$custom: #9eba42;
$custom-light: #bdce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eba42",
  "rgb": {
    "r": 158,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 74,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74437,
    "c": 0.14842,
    "h": 121.3
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

primary
#9EBA42
secondary
#9D90C8
accent
#51D770
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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