#9EB128#9EB128

#9EB128 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.155 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9EB128
RGBrgb(158, 177, 40)
HSLhsl(68, 63%, 43%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(10.7%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.65, -23.68, 62.48)
CIE-LCHlch(68.65, 66.81, 110.76°)
OKLaboklab(72.17% -0.0714 0.137)
OKLCHoklch(72.17% 0.155 117.5)
XYZxyz(30.2064, 38.8669, 7.9179)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB128 #3B28B1
analogous
#B17F28 #9EB128 #5AB128
triadic
#9EB128 #289EB1 #B1289E
tetradic
#9EB128 #28B17F #3B28B1 #B1285A
square
#9EB128 #28B17F #3B28B1 #B1285A
split-complementary
#9EB128 #285AB1 #7F28B1
monochromatic
#454D11 #717F1D #9EB128 #C0D442 #D1E074

Accessibility & contrast

On white

2.39
#9EB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9EB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB128
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB128#FFFFFF#000000##000000
##9EB1281.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb128;
/* rgb */ color: rgb(158, 177, 40);
/* oklch */ color: oklch(72.2% 0.155 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec86e',
    500: '#9eb128',
    950: '#000000',
  },
}
SCSS
$custom: #9eb128;
$custom-light: #bec86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb128",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 68.321,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.15451,
    "h": 117.5
  },
  "luminance": 0.38867
}

Semantic roles & 50–950 ramp

primary
#9EB128
secondary
#7A6EC7
accent
#42E658
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB128

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

Preview Lab → · Contrast checker → · Palette generator →

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