#9EB126#9EB126

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

Color values

HEX#9EB126
RGBrgb(158, 177, 38)
HSLhsl(68, 65%, 42%)
HSVhsv(68, 79%, 69%)
CMYKcmyk(10.7%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.65, -23.76, 63.08)
CIE-LCHlch(68.65, 67.41, 110.64°)
OKLaboklab(72.16% -0.0718 0.1379)
OKLCHoklch(72.16% 0.156 117.5)
XYZxyz(30.1733, 38.8537, 7.7433)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB126 #3926B1
analogous
#B17E26 #9EB126 #59B126
triadic
#9EB126 #269EB1 #B1269E
tetradic
#9EB126 #26B17E #3926B1 #B12659
square
#9EB126 #26B17E #3926B1 #B12659
split-complementary
#9EB126 #2659B1 #7E26B1
monochromatic
#444C10 #717F1B #9EB126 #C1D63F #D1E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB126#FFFFFF#000000##000000
##9EB1261.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)
#BBA833
Tritanopia (blue-blind)
#A8A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb126;
/* rgb */ color: rgb(158, 177, 38);
/* oklch */ color: oklch(72.2% 0.156 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec86d',
    500: '#9eb126',
    950: '#000000',
  },
}
SCSS
$custom: #9eb126;
$custom-light: #bec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb126",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 68.201,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72158,
    "c": 0.15552,
    "h": 117.5
  },
  "luminance": 0.38853
}

Semantic roles & 50–950 ramp

primary
#9EB126
secondary
#786BC7
accent
#40E857
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB126

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

Preview Lab → · Contrast checker → · Palette generator →

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