#9EB252#9EB252

#9EB252 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.8% C 0.124 H 119.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9EB252
RGBrgb(158, 178, 82)
HSLhsl(73, 38%, 51%)
HSVhsv(73, 54%, 70%)
CMYKcmyk(11.2%, 0%, 53.9%, 30.2%)
CIE-LABlab(69.27, -21.36, 46.10)
CIE-LCHlch(69.27, 50.81, 114.86°)
OKLaboklab(72.77% -0.061 0.1083)
OKLCHoklch(72.77% 0.124 119.4)
XYZxyz(31.5443, 39.7192, 13.9858)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB252 #6652B2
analogous
#B29652 #9EB252 #6EB252
triadic
#9EB252 #529EB2 #B2529E
tetradic
#9EB252 #52B296 #6652B2 #B2526E
square
#9EB252 #52B296 #6652B2 #B2526E
split-complementary
#9EB252 #526EB2 #9652B2
monochromatic
#545F2A #7A8A3D #9EB252 #B6C57C #CDD8A7

Accessibility & contrast

On white

2.35
#9EB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9EB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB252
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB252#FFFFFF#000000##000000
##9EB2521.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#BAA958
Tritanopia (blue-blind)
#A6AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb252;
/* rgb */ color: rgb(158, 178, 82);
/* oklch */ color: oklch(72.8% 0.124 119.4);
Tailwind
colors: {
  custom: {
    50: '#bcc985',
    500: '#9eb252',
    950: '#000000',
  },
}
SCSS
$custom: #9eb252;
$custom-light: #bcc985;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb252",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 72.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72768,
    "c": 0.12432,
    "h": 119.4
  },
  "luminance": 0.39719
}

Semantic roles & 50–950 ramp

primary
#9EB252
secondary
#A39BC5
accent
#59CE72
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9EB252

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

Preview Lab → · Contrast checker → · Palette generator →

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