#9EB420#9EB420

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

Color values

HEX#9EB420
RGBrgb(158, 180, 32)
HSLhsl(69, 70%, 42%)
HSVhsv(69, 82%, 71%)
CMYKcmyk(12.2%, 0%, 82.2%, 29.4%)
CIE-LABlab(69.48, -25.46, 65.49)
CIE-LCHlch(69.48, 70.27, 111.24°)
OKLaboklab(72.82% -0.0769 0.1421)
OKLCHoklch(72.82% 0.162 118.4)
XYZxyz(30.6833, 40.0162, 7.4737)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB420 #3620B4
analogous
#B48020 #9EB420 #54B420
triadic
#9EB420 #209EB4 #B4209E
tetradic
#9EB420 #20B480 #3620B4 #B42054
square
#9EB420 #20B480 #3620B4 #B42054
split-complementary
#9EB420 #2054B4 #8020B4
monochromatic
#434C0E #708017 #9EB420 #C3DB36 #D2E46A

Accessibility & contrast

On white

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

On black

9.00
#9EB420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB420
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB420#FFFFFF#000000##000000
##9EB4201.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb420;
/* rgb */ color: rgb(158, 180, 32);
/* oklch */ color: oklch(72.8% 0.162 118.4);
Tailwind
colors: {
  custom: {
    50: '#bfca6b',
    500: '#9eb420',
    950: '#000000',
  },
}
SCSS
$custom: #9eb420;
$custom-light: #bfca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb420",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 68.919,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.16154,
    "h": 118.4
  },
  "luminance": 0.40016
}

Semantic roles & 50–950 ramp

primary
#9EB420
secondary
#7466CA
accent
#3BED56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB420

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

Preview Lab → · Contrast checker → · Palette generator →

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