#9EA828#9EA828

#9EA828 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.145 H 114.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9EA828
RGBrgb(158, 168, 40)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 76%, 66%)
CMYKcmyk(6%, 0%, 76.2%, 34.1%)
CIE-LABlab(66.08, -19.19, 60.10)
CIE-LCHlch(66.08, 63.09, 107.70°)
OKLaboklab(70.1% -0.059 0.132)
OKLCHoklch(70.1% 0.145 114.1)
XYZxyz(28.4870, 35.4281, 7.3447)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA828 #3228A8
analogous
#A87228 #9EA828 #5EA828
triadic
#9EA828 #289EA8 #A8289E
tetradic
#9EA828 #28A872 #3228A8 #A8285E
square
#9EA828 #28A872 #3228A8 #A8285E
split-complementary
#9EA828 #285EA8 #7228A8
monochromatic
#414510 #70771C #9EA828 #C5D13D #D4DC6E

Accessibility & contrast

On white

2.60
#9EA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9EA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA828
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA828#FFFFFF#000000##000000
##9EA8281.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea828;
/* rgb */ color: rgb(158, 168, 40);
/* oklch */ color: oklch(70.1% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec16d',
    500: '#9ea828',
    950: '#000000',
  },
}
SCSS
$custom: #9ea828;
$custom-light: #bec16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea828",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 64.688,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70102,
    "c": 0.14457,
    "h": 114.1
  },
  "luminance": 0.35428
}

Semantic roles & 50–950 ramp

primary
#9EA828
secondary
#7069C3
accent
#43E550
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA828

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

Preview Lab → · Contrast checker → · Palette generator →

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