#9EA12E#9EA12E

#9EA12E is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.134 H 110.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9EA12E
RGBrgb(158, 161, 46)
HSLhsl(62, 56%, 41%)
HSVhsv(62, 71%, 63%)
CMYKcmyk(1.9%, 0%, 71.4%, 36.9%)
CIE-LABlab(64.13, -15.31, 56.14)
CIE-LCHlch(64.13, 58.20, 105.26°)
OKLaboklab(68.55% -0.0477 0.1247)
OKLCHoklch(68.55% 0.134 110.9)
XYZxyz(27.3395, 32.9568, 7.5054)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA12E #312EA1
analogous
#A16A2E #9EA12E #64A12E
triadic
#9EA12E #2E9EA1 #A12E9E
tetradic
#9EA12E #2EA16A #312EA1 #A12E64
square
#9EA12E #2EA16A #312EA1 #A12E64
split-complementary
#9EA12E #2E64A1 #6A2EA1
monochromatic
#414213 #6F7120 #9EA12E #C6C943 #D4D773

Accessibility & contrast

On white

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

On black

7.59
#9EA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA12E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA12E#FFFFFF#000000##000000
##9EA12E1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A9978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea12e;
/* rgb */ color: rgb(158, 161, 46);
/* oklch */ color: oklch(68.5% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebc6f',
    500: '#9ea12e',
    950: '#000000',
  },
}
SCSS
$custom: #9ea12e;
$custom-light: #bebc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea12e",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 61.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68548,
    "c": 0.1335,
    "h": 110.9
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#9EA12E
secondary
#6E6CBE
accent
#49DF4D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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