#9EBA31#9EBA31

#9EBA31 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.3% C 0.160 H 120.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#9EBA31
RGBrgb(158, 186, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 74%, 73%)
CMYKcmyk(15.1%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.29, -27.63, 62.00)
CIE-LCHlch(71.29, 67.88, 114.02°)
OKLaboklab(74.31% -0.0816 0.1375)
OKLCHoklch(74.31% 0.16 120.7)
XYZxyz(32.2144, 42.6087, 9.4323)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBA31 #4D31BA
analogous
#BA9131 #9EBA31 #59BA31
triadic
#9EBA31 #319EBA #BA319E
tetradic
#9EBA31 #31BA91 #4D31BA #BA3159
square
#9EBA31 #31BA91 #4D31BA #BA3159
split-complementary
#9EBA31 #3159BA #9131BA
monochromatic
#4C5917 #758A24 #9EBA31 #B9D256 #CDDF86

Accessibility & contrast

On white

2.21
#9EBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#9EBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EBA31
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EBA31#FFFFFF#000000##000000
##9EBA311.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#A7B0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9eba31;
/* rgb */ color: rgb(158, 186, 49);
/* oklch */ color: oklch(74.3% 0.160 120.7);
Tailwind
colors: {
  custom: {
    50: '#bece73',
    500: '#9eba31',
    950: '#000000',
  },
}
SCSS
$custom: #9eba31;
$custom-light: #bece73;
$custom-dark: #000000;
JSON
{
  "hex": "#9eba31",
  "rgb": {
    "r": 158,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 72.263,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74306,
    "c": 0.15992,
    "h": 120.7
  },
  "luminance": 0.42609
}

Semantic roles & 50–950 ramp

primary
#9EBA31
secondary
#8D7EC9
accent
#46E266
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9EBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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