#9EA822#9EA822

#9EA822 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.148 H 114.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9EA822
RGBrgb(158, 168, 34)
HSLhsl(64, 66%, 40%)
HSVhsv(64, 80%, 66%)
CMYKcmyk(6%, 0%, 79.8%, 34.1%)
CIE-LABlab(66.05, -19.43, 61.93)
CIE-LCHlch(66.05, 64.91, 107.42°)
OKLaboklab(70.07% -0.0602 0.1348)
OKLCHoklch(70.07% 0.148 114.1)
XYZxyz(28.3928, 35.3904, 6.8484)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA822 #2C22A8
analogous
#A86F22 #9EA822 #5BA822
triadic
#9EA822 #229EA8 #A8229E
tetradic
#9EA822 #22A86F #2C22A8 #A8225B
square
#9EA822 #22A86F #2C22A8 #A8225B
split-complementary
#9EA822 #225BA8 #6F22A8
monochromatic
#3E420D #6E7518 #9EA822 #C9D532 #D7E065

Accessibility & contrast

On white

2.60
#9EA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9EA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA822
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA822#FFFFFF#000000##000000
##9EA8221.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea822;
/* rgb */ color: rgb(158, 168, 34);
/* oklch */ color: oklch(70.1% 0.148 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec16a',
    500: '#9ea822',
    950: '#000000',
  },
}
SCSS
$custom: #9ea822;
$custom-light: #bec16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea822",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 64.478,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70069,
    "c": 0.14761,
    "h": 114.1
  },
  "luminance": 0.3539
}

Semantic roles & 50–950 ramp

primary
#9EA822
secondary
#6861C5
accent
#3FE94B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA822

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

Preview Lab → · Contrast checker → · Palette generator →

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