#9EBA2D#9EBA2D

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

Color values

HEX#9EBA2D
RGBrgb(158, 186, 45)
HSLhsl(72, 61%, 45%)
HSVhsv(72, 76%, 73%)
CMYKcmyk(15.1%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.27, -27.83, 63.31)
CIE-LCHlch(71.27, 69.16, 113.73°)
OKLaboklab(74.28% -0.0825 0.1396)
OKLCHoklch(74.28% 0.162 120.6)
XYZxyz(32.1337, 42.5765, 9.0073)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EBA2D #492DBA
analogous
#BA8F2D #9EBA2D #57BA2D
triadic
#9EBA2D #2D9EBA #BA2D9E
tetradic
#9EBA2D #2DBA8F #492DBA #BA2D57
square
#9EBA2D #2DBA8F #492DBA #BA2D57
split-complementary
#9EBA2D #2D57BA #8F2DBA
monochromatic
#4A5715 #748921 #9EBA2D #BAD550 #CEE081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EBA2D#FFFFFF#000000##000000
##9EBA2D1.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)
#C6AF09
Deuteranopia (green-blind)
#C2AF3A
Tritanopia (blue-blind)
#A7B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9eba2d;
/* rgb */ color: rgb(158, 186, 45);
/* oklch */ color: oklch(74.3% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#bece71',
    500: '#9eba2d',
    950: '#000000',
  },
}
SCSS
$custom: #9eba2d;
$custom-light: #bece71;
$custom-dark: #000000;
JSON
{
  "hex": "#9eba2d",
  "rgb": {
    "r": 158,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 71.915,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74281,
    "c": 0.16217,
    "h": 120.6
  },
  "luminance": 0.42576
}

Semantic roles & 50–950 ramp

primary
#9EBA2D
secondary
#8979C9
accent
#44E464
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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