#9EA12A#9EA12A

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

Color values

HEX#9EA12A
RGBrgb(158, 161, 42)
HSLhsl(62, 59%, 40%)
HSVhsv(62, 74%, 63%)
CMYKcmyk(1.9%, 0%, 73.9%, 36.9%)
CIE-LABlab(64.10, -15.51, 57.57)
CIE-LCHlch(64.10, 59.62, 105.08°)
OKLaboklab(68.52% -0.0486 0.127)
OKLCHoklch(68.52% 0.136 111)
XYZxyz(27.2643, 32.9267, 7.1093)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA12A #2D2AA1
analogous
#A1692A #9EA12A #62A12A
triadic
#9EA12A #2A9EA1 #A12A9E
tetradic
#9EA12A #2AA169 #2D2AA1 #A12A62
square
#9EA12A #2AA169 #2D2AA1 #A12A62
split-complementary
#9EA12A #2A62A1 #692AA1
monochromatic
#3F4011 #6E701D #9EA12A #C9CC3C #D6D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA12A#FFFFFF#000000##000000
##9EA12A1.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)
#AE9A12
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea12a;
/* rgb */ color: rgb(158, 161, 42);
/* oklch */ color: oklch(68.5% 0.136 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc6d',
    500: '#9ea12a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea12a;
$custom-light: #bebc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea12a",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 61.513,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.13597,
    "h": 111
  },
  "luminance": 0.32926
}

Semantic roles & 50–950 ramp

primary
#9EA12A
secondary
#6967C0
accent
#46E24A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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