#9EA12C#9EA12C

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

Color values

HEX#9EA12C
RGBrgb(158, 161, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(1.9%, 0%, 72.7%, 36.9%)
CIE-LABlab(64.11, -15.42, 56.87)
CIE-LCHlch(64.11, 58.92, 105.17°)
OKLaboklab(68.53% -0.0482 0.1259)
OKLCHoklch(68.53% 0.135 111)
XYZxyz(27.3010, 32.9414, 7.3026)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA12C #2F2CA1
analogous
#A1692C #9EA12C #64A12C
triadic
#9EA12C #2C9EA1 #A12C9E
tetradic
#9EA12C #2CA169 #2F2CA1 #A12C64
square
#9EA12C #2CA169 #2F2CA1 #A12C64
split-complementary
#9EA12C #2C64A1 #692CA1
monochromatic
#404112 #6F711F #9EA12C #C7CB40 #D5D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA12C#FFFFFF#000000##000000
##9EA12C1.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)
#AE9A16
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea12c;
/* rgb */ color: rgb(158, 161, 44);
/* oklch */ color: oklch(68.5% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc6e',
    500: '#9ea12c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea12c;
$custom-light: #bebc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea12c",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 61.538,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68534,
    "c": 0.13476,
    "h": 111
  },
  "luminance": 0.32941
}

Semantic roles & 50–950 ramp

primary
#9EA12C
secondary
#6C6ABF
accent
#47E04B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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