#9EAA28#9EAA28

#9EAA28 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.147 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9EAA28
RGBrgb(158, 170, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(7.1%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.65, -20.19, 60.63)
CIE-LCHlch(66.65, 63.91, 108.42°)
OKLaboklab(70.56% -0.0618 0.1331)
OKLCHoklch(70.56% 0.147 114.9)
XYZxyz(28.8591, 36.1723, 7.4688)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA28 #3428AA
analogous
#AA7528 #9EAA28 #5DAA28
triadic
#9EAA28 #289EAA #AA289E
tetradic
#9EAA28 #28AA75 #3428AA #AA285D
square
#9EAA28 #28AA75 #3428AA #AA285D
split-complementary
#9EAA28 #285DAA #7528AA
monochromatic
#424711 #70781C #9EAA28 #C4D23E #D3DD6F

Accessibility & contrast

On white

2.55
#9EAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9EAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA28
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA28#FFFFFF#000000##000000
##9EAA281.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A9A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa28;
/* rgb */ color: rgb(158, 170, 40);
/* oklch */ color: oklch(70.6% 0.147 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec36d',
    500: '#9eaa28',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa28;
$custom-light: #bec36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa28",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 65.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.14675,
    "h": 114.9
  },
  "luminance": 0.36172
}

Semantic roles & 50–950 ramp

primary
#9EAA28
secondary
#726AC4
accent
#43E552
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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