#9EA628#9EA628

#9EA628 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.6% C 0.142 H 113.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9EA628
RGBrgb(158, 166, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 65%)
CMYKcmyk(4.8%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.51, -18.17, 59.58)
CIE-LCHlch(65.51, 62.28, 106.96°)
OKLaboklab(69.65% -0.0562 0.1309)
OKLCHoklch(69.65% 0.142 113.3)
XYZxyz(28.1207, 34.6954, 7.2226)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA628 #3028A6
analogous
#A66F28 #9EA628 #5FA628
triadic
#9EA628 #289EA6 #A6289E
tetradic
#9EA628 #28A66F #3028A6 #A6285F
square
#9EA628 #28A66F #3028A6 #A6285F
split-complementary
#9EA628 #285FA6 #6F28A6
monochromatic
#404310 #6F751C #9EA628 #C6D03B #D5DC6D

Accessibility & contrast

On white

2.65
#9EA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9EA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA628
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA628#FFFFFF#000000##000000
##9EA6281.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#A99C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea628;
/* rgb */ color: rgb(158, 166, 40);
/* oklch */ color: oklch(69.6% 0.142 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec06c',
    500: '#9ea628',
    950: '#000000',
  },
}
SCSS
$custom: #9ea628;
$custom-light: #bec06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea628",
  "rgb": {
    "r": 158,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 63.81,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.14242,
    "h": 113.3
  },
  "luminance": 0.34695
}

Semantic roles & 50–950 ramp

primary
#9EA628
secondary
#6D67C2
accent
#44E44E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA628

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

Preview Lab → · Contrast checker → · Palette generator →

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