#9EB240#9EB240

#9EB240 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.6% C 0.140 H 118.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9EB240
RGBrgb(158, 178, 64)
HSLhsl(71, 47%, 47%)
HSVhsv(71, 64%, 70%)
CMYKcmyk(11.2%, 0%, 64%, 30.2%)
CIE-LABlab(69.10, -22.82, 54.03)
CIE-LCHlch(69.10, 58.65, 112.90°)
OKLaboklab(72.58% -0.0669 0.1231)
OKLCHoklch(72.58% 0.14 118.5)
XYZxyz(30.9469, 39.4803, 10.8397)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB240 #5440B2
analogous
#B28D40 #9EB240 #65B240
triadic
#9EB240 #409EB2 #B2409E
tetradic
#9EB240 #40B28D #5440B2 #B24065
square
#9EB240 #40B28D #5440B2 #B24065
split-complementary
#9EB240 #4065B2 #8D40B2
monochromatic
#4E5820 #768530 #9EB240 #B7C867 #CCD894

Accessibility & contrast

On white

2.36
#9EB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9EB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB240
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB240#FFFFFF#000000##000000
##9EB2401.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#A7A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb240;
/* rgb */ color: rgb(158, 178, 64);
/* oklch */ color: oklch(72.6% 0.140 118.5);
Tailwind
colors: {
  custom: {
    50: '#bdc97a',
    500: '#9eb240',
    950: '#000000',
  },
}
SCSS
$custom: #9eb240;
$custom-light: #bdc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb240",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 70.526,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72575,
    "c": 0.14009,
    "h": 118.5
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#9EB240
secondary
#948AC4
accent
#51D769
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB240

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

Preview Lab → · Contrast checker → · Palette generator →

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