#9EBA2A#9EBA2A

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

Color values

HEX#9EBA2A
RGBrgb(158, 186, 42)
HSLhsl(72, 63%, 45%)
HSVhsv(72, 77%, 73%)
CMYKcmyk(15.1%, 0%, 77.4%, 27.1%)
CIE-LABlab(71.25, -27.97, 64.25)
CIE-LCHlch(71.25, 70.07, 113.52°)
OKLaboklab(74.26% -0.0831 0.1411)
OKLCHoklch(74.26% 0.164 120.5)
XYZxyz(32.0780, 42.5542, 8.7139)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBA2A #462ABA
analogous
#BA8E2A #9EBA2A #56BA2A
triadic
#9EBA2A #2A9EBA #BA2A9E
tetradic
#9EBA2A #2ABA8E #462ABA #BA2A56
square
#9EBA2A #2ABA8E #462ABA #BA2A56
split-complementary
#9EBA2A #2A56BA #8E2ABA
monochromatic
#495613 #74881F #9EBA2A #BBD64B #CEE27D

Accessibility & contrast

On white

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

On black

9.51
#9EBA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EBA2A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EBA2A#FFFFFF#000000##000000
##9EBA2A1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#A7B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9eba2a;
/* rgb */ color: rgb(158, 186, 42);
/* oklch */ color: oklch(74.3% 0.164 120.5);
Tailwind
colors: {
  custom: {
    50: '#bece70',
    500: '#9eba2a',
    950: '#000000',
  },
}
SCSS
$custom: #9eba2a;
$custom-light: #bece70;
$custom-dark: #000000;
JSON
{
  "hex": "#9eba2a",
  "rgb": {
    "r": 158,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 71.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.16373,
    "h": 120.5
  },
  "luminance": 0.42554
}

Semantic roles & 50–950 ramp

primary
#9EBA2A
secondary
#8676CA
accent
#42E662
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EBA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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