#9EA921#9EA921

#9EA921 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.149 H 114.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9EA921
RGBrgb(158, 169, 33)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 66%)
CMYKcmyk(6.5%, 0%, 80.5%, 33.7%)
CIE-LABlab(66.33, -19.97, 62.47)
CIE-LCHlch(66.33, 65.58, 107.73°)
OKLaboklab(70.29% -0.0618 0.1357)
OKLCHoklch(70.29% 0.149 114.5)
XYZxyz(28.5639, 35.7554, 6.8353)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA921 #2C21A9
analogous
#A97021 #9EA921 #5AA921
triadic
#9EA921 #219EA9 #A9219E
tetradic
#9EA921 #21A970 #2C21A9 #A9215A
square
#9EA921 #21A970 #2C21A9 #A9215A
split-complementary
#9EA921 #215AA9 #7021A9
monochromatic
#3E430D #6E7617 #9EA921 #C9D731 #D7E164

Accessibility & contrast

On white

2.58
#9EA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9EA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA921
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA921#FFFFFF#000000##000000
##9EA9211.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#A99F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea921;
/* rgb */ color: rgb(158, 169, 33);
/* oklch */ color: oklch(70.3% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec26a',
    500: '#9ea921',
    950: '#000000',
  },
}
SCSS
$custom: #9ea921;
$custom-light: #bec26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea921",
  "rgb": {
    "r": 158,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 64.853,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.14913,
    "h": 114.5
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#9EA921
secondary
#6860C6
accent
#3EEA4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA921

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

Preview Lab → · Contrast checker → · Palette generator →

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