#9EA11F#9EA11F

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

Color values

HEX#9EA11F
RGBrgb(158, 161, 31)
HSLhsl(61, 68%, 38%)
HSVhsv(61, 81%, 63%)
CMYKcmyk(1.9%, 0%, 80.7%, 36.9%)
CIE-LABlab(64.05, -15.96, 61.02)
CIE-LCHlch(64.05, 63.07, 104.66°)
OKLaboklab(68.46% -0.0508 0.1323)
OKLCHoklch(68.46% 0.142 111)
XYZxyz(27.0937, 32.8585, 6.2112)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA11F #221FA1
analogous
#A1631F #9EA11F #5DA11F
triadic
#9EA11F #1F9EA1 #A11F9E
tetradic
#9EA11F #1FA163 #221FA1 #A11F5D
square
#9EA11F #1FA163 #221FA1 #A11F5D
split-complementary
#9EA11F #1F5DA1 #631FA1
monochromatic
#393A0B #6C6E15 #9EA11F #D0D429 #DCDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA11F#FFFFFF#000000##000000
##9EA11F1.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)
#AF9D2B
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea11f;
/* rgb */ color: rgb(158, 161, 31);
/* oklch */ color: oklch(68.5% 0.142 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc68',
    500: '#9ea11f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea11f;
$custom-light: #bebc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea11f",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 61.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.14171,
    "h": 111
  },
  "luminance": 0.32858
}

Semantic roles & 50–950 ramp

primary
#9EA11F
secondary
#5B58C4
accent
#3DEB41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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