#9EA11C#9EA11C

#9EA11C is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.143 H 111.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9EA11C
RGBrgb(158, 161, 28)
HSLhsl(61, 70%, 37%)
HSVhsv(61, 83%, 63%)
CMYKcmyk(1.9%, 0%, 82.6%, 36.9%)
CIE-LABlab(64.03, -16.06, 61.83)
CIE-LCHlch(64.03, 63.88, 104.56°)
OKLaboklab(68.44% -0.0513 0.1335)
OKLCHoklch(68.44% 0.143 111)
XYZxyz(27.0560, 32.8434, 6.0126)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA11C #1F1CA1
analogous
#A1611C #9EA11C #5CA11C
triadic
#9EA11C #1C9EA1 #A11C9E
tetradic
#9EA11C #1CA161 #1F1CA1 #A11C5C
square
#9EA11C #1CA161 #1F1CA1 #A11C5C
split-complementary
#9EA11C #1C5CA1 #611CA1
monochromatic
#38390A #6B6D13 #9EA11C #D1D525 #DEE256

Accessibility & contrast

On white

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

On black

7.57
#9EA11C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA11C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA11C#FFFFFF#000000##000000
##9EA11C1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9D29
Tritanopia (blue-blind)
#AA9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea11c;
/* rgb */ color: rgb(158, 161, 28);
/* oklch */ color: oklch(68.4% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#bfbc67',
    500: '#9ea11c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea11c;
$custom-light: #bfbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea11c",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 61.353,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.68445,
    "c": 0.14301,
    "h": 111
  },
  "luminance": 0.32843
}

Semantic roles & 50–950 ramp

primary
#9EA11C
secondary
#5654C5
accent
#3BED3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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