#9EB428#9EB428

#9EB428 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.158 H 118.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9EB428
RGBrgb(158, 180, 40)
HSLhsl(69, 64%, 43%)
HSVhsv(69, 78%, 71%)
CMYKcmyk(12.2%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.52, -25.15, 63.27)
CIE-LCHlch(69.52, 68.08, 111.68°)
OKLaboklab(72.86% -0.0755 0.1387)
OKLCHoklch(72.86% 0.158 118.6)
XYZxyz(30.8055, 40.0651, 8.1176)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB428 #3E28B4
analogous
#B48428 #9EB428 #58B428
triadic
#9EB428 #289EB4 #B4289E
tetradic
#9EB428 #28B484 #3E28B4 #B42858
square
#9EB428 #28B484 #3E28B4 #B42858
split-complementary
#9EB428 #2858B4 #8428B4
monochromatic
#465012 #72821D #9EB428 #BFD544 #D0E176

Accessibility & contrast

On white

2.33
#9EB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9EB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB428
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB428#FFFFFF#000000##000000
##9EB4281.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#A8AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb428;
/* rgb */ color: rgb(158, 180, 40);
/* oklch */ color: oklch(72.9% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#beca6e',
    500: '#9eb428',
    950: '#000000',
  },
}
SCSS
$custom: #9eb428;
$custom-light: #beca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb428",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 69.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72862,
    "c": 0.1579,
    "h": 118.6
  },
  "luminance": 0.40065
}

Semantic roles & 50–950 ramp

primary
#9EB428
secondary
#7E70C8
accent
#41E75B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB428

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

Preview Lab → · Contrast checker → · Palette generator →

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