#9EA520#9EA520

#9EA520 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.145 H 112.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9EA520
RGBrgb(158, 165, 32)
HSLhsl(63, 68%, 39%)
HSVhsv(63, 81%, 65%)
CMYKcmyk(4.2%, 0%, 80.6%, 35.3%)
CIE-LABlab(65.19, -17.98, 61.74)
CIE-LCHlch(65.19, 64.30, 106.24°)
OKLaboklab(69.37% -0.0563 0.134)
OKLCHoklch(69.37% 0.145 112.8)
XYZxyz(27.8173, 34.2843, 6.5184)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA520 #2720A5
analogous
#A56920 #9EA520 #5BA520
triadic
#9EA520 #209EA5 #A5209E
tetradic
#9EA520 #20A569 #2720A5 #A5205B
square
#9EA520 #20A569 #2720A5 #A5205B
split-complementary
#9EA520 #205BA5 #6920A5
monochromatic
#3C3E0C #6D7216 #9EA520 #CDD62C #D9E05F

Accessibility & contrast

On white

2.67
#9EA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9EA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA520
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA520#FFFFFF#000000##000000
##9EA5201.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#A99B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea520;
/* rgb */ color: rgb(158, 165, 32);
/* oklch */ color: oklch(69.4% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf69',
    500: '#9ea520',
    950: '#000000',
  },
}
SCSS
$custom: #9ea520;
$custom-light: #bebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea520",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 63.158,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69374,
    "c": 0.14537,
    "h": 112.8
  },
  "luminance": 0.34284
}

Semantic roles & 50–950 ramp

primary
#9EA520
secondary
#625CC5
accent
#3DEA47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA520

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

Preview Lab → · Contrast checker → · Palette generator →

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