#9EA021#9EA021

#9EA021 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.140 H 110.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9EA021
RGBrgb(158, 160, 33)
HSLhsl(61, 66%, 38%)
HSVhsv(61, 79%, 63%)
CMYKcmyk(1.2%, 0%, 79.4%, 37.3%)
CIE-LABlab(63.77, -15.37, 60.20)
CIE-LCHlch(63.77, 62.13, 104.33°)
OKLaboklab(68.24% -0.049 0.1309)
OKLCHoklch(68.24% 0.14 110.5)
XYZxyz(26.9469, 32.5213, 6.2963)
Luminance0.3252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA021 #2321A0
analogous
#A06221 #9EA021 #5EA021
triadic
#9EA021 #219EA0 #A0219E
tetradic
#9EA021 #21A062 #2321A0 #A0215E
square
#9EA021 #21A062 #2321A0 #A0215E
split-complementary
#9EA021 #215EA0 #6221A0
monochromatic
#3A3B0C #6C6D17 #9EA021 #D0D32B #DCDE5E

Accessibility & contrast

On white

2.80
#9EA021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9EA021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA021
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA021#FFFFFF#000000##000000
##9EA0211.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#AA9589
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ea021;
/* rgb */ color: rgb(158, 160, 33);
/* oklch */ color: oklch(68.2% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9ea021',
    950: '#000000',
  },
}
SCSS
$custom: #9ea021;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea021",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 60.945,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68242,
    "c": 0.13978,
    "h": 110.5
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#9EA021
secondary
#5C5BC2
accent
#3FE942
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9EA021

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

Preview Lab → · Contrast checker → · Palette generator →

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