#9EBF31#9EBF31

#9EBF31 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.5% C 0.166 H 122.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#9EBF31
RGBrgb(158, 191, 49)
HSLhsl(74, 59%, 47%)
HSVhsv(74, 74%, 75%)
CMYKcmyk(17.3%, 0%, 74.3%, 25.1%)
CIE-LABlab(72.73, -30.02, 63.38)
CIE-LCHlch(72.73, 70.13, 115.34°)
OKLaboklab(75.47% -0.0882 0.1404)
OKLCHoklch(75.47% 0.166 122.1)
XYZxyz(33.2862, 44.7524, 9.7896)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBF31 #5231BF
analogous
#BF9931 #9EBF31 #57BF31
triadic
#9EBF31 #319EBF #BF319E
tetradic
#9EBF31 #31BF99 #5231BF #BF3157
square
#9EBF31 #31BF99 #5231BF #BF3157
split-complementary
#9EBF31 #3157BF #9931BF
monochromatic
#4D5E18 #768E25 #9EBF31 #B8D459 #CDE18A

Accessibility & contrast

On white

2.11
#9EBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#9EBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EBF31
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EBF31#FFFFFF#000000##000000
##9EBF311.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#A6B5A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #9ebf31;
/* rgb */ color: rgb(158, 191, 49);
/* oklch */ color: oklch(75.5% 0.166 122.1);
Tailwind
colors: {
  custom: {
    50: '#bed274',
    500: '#9ebf31',
    950: '#000000',
  },
}
SCSS
$custom: #9ebf31;
$custom-light: #bed274;
$custom-dark: #000000;
JSON
{
  "hex": "#9ebf31",
  "rgb": {
    "r": 158,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 73.944,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75468,
    "c": 0.16581,
    "h": 122.1
  },
  "luminance": 0.44752
}

Semantic roles & 50–950 ramp

primary
#9EBF31
secondary
#9281CB
accent
#45E26A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9EBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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