#9EB22E#9EB22E

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

Color values

HEX#9EB22E
RGBrgb(158, 178, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 70%)
CMYKcmyk(11.2%, 0%, 74.2%, 30.2%)
CIE-LABlab(68.97, -23.90, 60.82)
CIE-LCHlch(68.97, 65.34, 111.45°)
OKLaboklab(72.44% -0.0715 0.1345)
OKLCHoklch(72.44% 0.152 118)
XYZxyz(30.5148, 39.3074, 8.5638)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB22E #422EB2
analogous
#B2842E #9EB22E #5CB22E
triadic
#9EB22E #2E9EB2 #B22E9E
tetradic
#9EB22E #2EB284 #422EB2 #B22E5C
square
#9EB22E #2EB284 #422EB2 #B22E5C
split-complementary
#9EB22E #2E5CB2 #842EB2
monochromatic
#485115 #738121 #9EB22E #BDD14C #CFDD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB22E#FFFFFF#000000##000000
##9EB22E1.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)
#BEA812
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb22e;
/* rgb */ color: rgb(158, 178, 46);
/* oklch */ color: oklch(72.4% 0.152 118.0);
Tailwind
colors: {
  custom: {
    50: '#bec971',
    500: '#9eb22e',
    950: '#000000',
  },
}
SCSS
$custom: #9eb22e;
$custom-light: #bec971;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb22e",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 69.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72436,
    "c": 0.15237,
    "h": 118
  },
  "luminance": 0.39307
}

Semantic roles & 50–950 ramp

primary
#9EB22E
secondary
#8276C6
accent
#46E25D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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