#9EAA22#9EAA22

#9EAA22 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.150 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9EAA22
RGBrgb(158, 170, 34)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 67%)
CMYKcmyk(7.1%, 0%, 80%, 33.3%)
CIE-LABlab(66.62, -20.44, 62.44)
CIE-LCHlch(66.62, 65.70, 108.12°)
OKLaboklab(70.53% -0.063 0.1359)
OKLCHoklch(70.53% 0.15 114.9)
XYZxyz(28.7649, 36.1346, 6.9724)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA22 #2E22AA
analogous
#AA7222 #9EAA22 #5AAA22
triadic
#9EAA22 #229EAA #AA229E
tetradic
#9EAA22 #22AA72 #2E22AA #AA225A
square
#9EAA22 #22AA72 #2E22AA #AA225A
split-complementary
#9EAA22 #225AAA #7222AA
monochromatic
#3F440E #6F7718 #9EAA22 #C8D633 #D6E066

Accessibility & contrast

On white

2.55
#9EAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9EAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA22
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA22#FFFFFF#000000##000000
##9EAA221.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A9A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa22;
/* rgb */ color: rgb(158, 170, 34);
/* oklch */ color: oklch(70.5% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec36a',
    500: '#9eaa22',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa22;
$custom-light: #bec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa22",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 65.294,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.14974,
    "h": 114.9
  },
  "luminance": 0.36134
}

Semantic roles & 50–950 ramp

primary
#9EAA22
secondary
#6B62C6
accent
#3EEA4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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