#9EB328#9EB328

#9EB328 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.6% C 0.157 H 118.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#9EB328
RGBrgb(158, 179, 40)
HSLhsl(69, 63%, 43%)
HSVhsv(69, 78%, 70%)
CMYKcmyk(11.7%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.23, -24.66, 63.00)
CIE-LCHlch(69.23, 67.66, 111.38°)
OKLaboklab(72.63% -0.0742 0.1381)
OKLCHoklch(72.63% 0.157 118.2)
XYZxyz(30.6044, 39.6628, 8.0505)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB328 #3D28B3
analogous
#B38228 #9EB328 #58B328
triadic
#9EB328 #289EB3 #B3289E
tetradic
#9EB328 #28B382 #3D28B3 #B32858
square
#9EB328 #28B382 #3D28B3 #B32858
split-complementary
#9EB328 #2858B3 #8228B3
monochromatic
#464F12 #72811D #9EB328 #BFD543 #D0E075

Accessibility & contrast

On white

2.35
#9EB328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#9EB328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB328
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB328#FFFFFF#000000##000000
##9EB3281.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#A8A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb328;
/* rgb */ color: rgb(158, 179, 40);
/* oklch */ color: oklch(72.6% 0.157 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec96e',
    500: '#9eb328',
    950: '#000000',
  },
}
SCSS
$custom: #9eb328;
$custom-light: #bec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb328",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 69.065,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72631,
    "c": 0.15677,
    "h": 118.2
  },
  "luminance": 0.39663
}

Semantic roles & 50–950 ramp

primary
#9EB328
secondary
#7D6FC8
accent
#41E65A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB328

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

Preview Lab → · Contrast checker → · Palette generator →

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