#9EA528#9EA528

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

Color values

HEX#9EA528
RGBrgb(158, 165, 40)
HSLhsl(63, 61%, 40%)
HSVhsv(63, 76%, 65%)
CMYKcmyk(4.2%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.23, -17.66, 59.31)
CIE-LCHlch(65.23, 61.88, 106.58°)
OKLaboklab(69.42% -0.0548 0.1303)
OKLCHoklch(69.42% 0.141 112.8)
XYZxyz(27.9396, 34.3332, 7.1622)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA528 #2F28A5
analogous
#A56D28 #9EA528 #5FA528
triadic
#9EA528 #289EA5 #A5289E
tetradic
#9EA528 #28A56D #2F28A5 #A5285F
square
#9EA528 #28A56D #2F28A5 #A5285F
split-complementary
#9EA528 #285FA5 #6D28A5
monochromatic
#404210 #6F741C #9EA528 #C7CF3B #D5DB6C

Accessibility & contrast

On white

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

On black

7.87
#9EA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA528
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA528#FFFFFF#000000##000000
##9EA5281.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea528;
/* rgb */ color: rgb(158, 165, 40);
/* oklch */ color: oklch(69.4% 0.141 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6c',
    500: '#9ea528',
    950: '#000000',
  },
}
SCSS
$custom: #9ea528;
$custom-light: #bebf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea528",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 63.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.14135,
    "h": 112.8
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#9EA528
secondary
#6C67C2
accent
#44E44D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA528

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

Preview Lab → · Contrast checker → · Palette generator →

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