#9EB422#9EB422

#9EB422 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.8% C 0.161 H 118.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9EB422
RGBrgb(158, 180, 34)
HSLhsl(69, 68%, 42%)
HSVhsv(69, 81%, 71%)
CMYKcmyk(12.2%, 0%, 81.1%, 29.4%)
CIE-LABlab(69.49, -25.39, 64.97)
CIE-LCHlch(69.49, 69.75, 111.34°)
OKLaboklab(72.83% -0.0766 0.1413)
OKLCHoklch(72.83% 0.161 118.5)
XYZxyz(30.7113, 40.0274, 7.6212)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB422 #3822B4
analogous
#B48122 #9EB422 #55B422
triadic
#9EB422 #229EB4 #B4229E
tetradic
#9EB422 #22B481 #3822B4 #B42255
square
#9EB422 #22B481 #3822B4 #B42255
split-complementary
#9EB422 #2255B4 #8122B4
monochromatic
#444D0F #718118 #9EB422 #C2DA3A #D2E36D

Accessibility & contrast

On white

2.33
#9EB422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9EB422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB422
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB422#FFFFFF#000000##000000
##9EB4221.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#A8AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb422;
/* rgb */ color: rgb(158, 180, 34);
/* oklch */ color: oklch(72.8% 0.161 118.5);
Tailwind
colors: {
  custom: {
    50: '#bfca6c',
    500: '#9eb422',
    950: '#000000',
  },
}
SCSS
$custom: #9eb422;
$custom-light: #bfca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb422",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 69.041,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72832,
    "c": 0.1607,
    "h": 118.5
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#9EB422
secondary
#7768CA
accent
#3DEB57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB422

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

Preview Lab → · Contrast checker → · Palette generator →

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