#9EA126#9EA126

#9EA126 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.138 H 111.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9EA126
RGBrgb(158, 161, 38)
HSLhsl(61, 62%, 39%)
HSVhsv(61, 76%, 63%)
CMYKcmyk(1.9%, 0%, 76.4%, 36.9%)
CIE-LABlab(64.08, -15.69, 58.91)
CIE-LCHlch(64.08, 60.96, 104.92°)
OKLaboklab(68.5% -0.0495 0.1291)
OKLCHoklch(68.5% 0.138 111)
XYZxyz(27.1962, 32.8995, 6.7510)
Luminance0.3290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA126 #2926A1
analogous
#A16726 #9EA126 #61A126
triadic
#9EA126 #269EA1 #A1269E
tetradic
#9EA126 #26A167 #2926A1 #A12661
square
#9EA126 #26A167 #2926A1 #A12661
split-complementary
#9EA126 #2661A1 #6726A1
monochromatic
#3D3E0F #6D6F1A #9EA126 #CCCF35 #D8DB66

Accessibility & contrast

On white

2.77
#9EA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#9EA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA126
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA126#FFFFFF#000000##000000
##9EA1261.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea126;
/* rgb */ color: rgb(158, 161, 38);
/* oklch */ color: oklch(68.5% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc6b',
    500: '#9ea126',
    950: '#000000',
  },
}
SCSS
$custom: #9ea126;
$custom-light: #bebc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea126",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 61.463,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.13824,
    "h": 111
  },
  "luminance": 0.32899
}

Semantic roles & 50–950 ramp

primary
#9EA126
secondary
#6462C1
accent
#43E547
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA126

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

Preview Lab → · Contrast checker → · Palette generator →

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