#9EBA2F#9EBA2F

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

Color values

HEX#9EBA2F
RGBrgb(158, 186, 47)
HSLhsl(72, 60%, 46%)
HSVhsv(72, 75%, 73%)
CMYKcmyk(15.1%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.28, -27.73, 62.67)
CIE-LCHlch(71.28, 68.53, 113.87°)
OKLaboklab(74.29% -0.082 0.1386)
OKLCHoklch(74.29% 0.161 120.6)
XYZxyz(32.1731, 42.5922, 9.2150)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBA2F #4B2FBA
analogous
#BA902F #9EBA2F #59BA2F
triadic
#9EBA2F #2F9EBA #BA2F9E
tetradic
#9EBA2F #2FBA90 #4B2FBA #BA2F59
square
#9EBA2F #2FBA90 #4B2FBA #BA2F59
split-complementary
#9EBA2F #2F59BA #902FBA
monochromatic
#4B5816 #748923 #9EBA2F #BAD353 #CDE084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EBA2F#FFFFFF#000000##000000
##9EBA2F1.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)
#C6AF0F
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#A7B0A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9eba2f;
/* rgb */ color: rgb(158, 186, 47);
/* oklch */ color: oklch(74.3% 0.161 120.6);
Tailwind
colors: {
  custom: {
    50: '#bece72',
    500: '#9eba2f',
    950: '#000000',
  },
}
SCSS
$custom: #9eba2f;
$custom-light: #bece72;
$custom-dark: #000000;
JSON
{
  "hex": "#9eba2f",
  "rgb": {
    "r": 158,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 72.086,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.16107,
    "h": 120.6
  },
  "luminance": 0.42592
}

Semantic roles & 50–950 ramp

primary
#9EBA2F
secondary
#8B7CC9
accent
#45E365
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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