#9EBC2A#9EBC2A

#9EBC2A is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.7% C 0.166 H 121.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#9EBC2A
RGBrgb(158, 188, 42)
HSLhsl(72, 63%, 45%)
HSVhsv(72, 78%, 74%)
CMYKcmyk(16%, 0%, 77.7%, 26.3%)
CIE-LABlab(71.83, -28.92, 64.77)
CIE-LCHlch(71.83, 70.94, 114.06°)
OKLaboklab(74.73% -0.0857 0.1422)
OKLCHoklch(74.73% 0.166 121.1)
XYZxyz(32.5023, 43.4027, 8.8553)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBC2A #482ABC
analogous
#BC912A #9EBC2A #55BC2A
triadic
#9EBC2A #2A9EBC #BC2A9E
tetradic
#9EBC2A #2ABC91 #482ABC #BC2A55
square
#9EBC2A #2ABC91 #482ABC #BC2A55
split-complementary
#9EBC2A #2A55BC #912ABC
monochromatic
#4A5814 #748A1F #9EBC2A #BBD74C #CEE27E

Accessibility & contrast

On white

2.17
#9EBC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#9EBC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EBC2A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EBC2A#FFFFFF#000000##000000
##9EBC2A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#A7B2A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9ebc2a;
/* rgb */ color: rgb(158, 188, 42);
/* oklch */ color: oklch(74.7% 0.166 121.1);
Tailwind
colors: {
  custom: {
    50: '#bed070',
    500: '#9ebc2a',
    950: '#000000',
  },
}
SCSS
$custom: #9ebc2a;
$custom-light: #bed070;
$custom-dark: #000000;
JSON
{
  "hex": "#9ebc2a",
  "rgb": {
    "r": 158,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 72.329,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74729,
    "c": 0.16604,
    "h": 121.1
  },
  "luminance": 0.43403
}

Semantic roles & 50–950 ramp

primary
#9EBC2A
secondary
#8877CB
accent
#41E763
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9EBC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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