#9EB22A#9EB22A

#9EB22A is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.4% C 0.155 H 117.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9EB22A
RGBrgb(158, 178, 42)
HSLhsl(69, 62%, 43%)
HSVhsv(69, 76%, 70%)
CMYKcmyk(11.2%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.95, -24.08, 62.12)
CIE-LCHlch(68.95, 66.63, 111.19°)
OKLaboklab(72.41% -0.0724 0.1366)
OKLCHoklch(72.41% 0.155 117.9)
XYZxyz(30.4396, 39.2774, 8.1678)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB22A #3E2AB2
analogous
#B2822A #9EB22A #5AB22A
triadic
#9EB22A #2A9EB2 #B22A9E
tetradic
#9EB22A #2AB282 #3E2AB2 #B22A5A
square
#9EB22A #2AB282 #3E2AB2 #B22A5A
split-complementary
#9EB22A #2A5AB2 #822AB2
monochromatic
#464F13 #72801E #9EB22A #BFD346 #D0DF77

Accessibility & contrast

On white

2.37
#9EB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#9EB22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB22A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB22A#FFFFFF#000000##000000
##9EB22A1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA805
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb22a;
/* rgb */ color: rgb(158, 178, 42);
/* oklch */ color: oklch(72.4% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec96f',
    500: '#9eb22a',
    950: '#000000',
  },
}
SCSS
$custom: #9eb22a;
$custom-light: #bec96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb22a",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 68.824,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.1546,
    "h": 117.9
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#9EB22A
secondary
#7E71C7
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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