#9EA11B#9EA11B

#9EA11B 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#9EA11B
RGBrgb(158, 161, 27)
HSLhsl(61, 71%, 37%)
HSVhsv(61, 83%, 63%)
CMYKcmyk(1.9%, 0%, 83.2%, 36.9%)
CIE-LABlab(64.03, -16.09, 62.08)
CIE-LCHlch(64.03, 64.14, 104.53°)
OKLaboklab(68.44% -0.0515 0.1339)
OKLCHoklch(68.44% 0.143 111)
XYZxyz(27.0443, 32.8387, 5.9506)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA11B #1E1BA1
analogous
#A1611B #9EA11B #5BA11B
triadic
#9EA11B #1B9EA1 #A11B9E
tetradic
#9EA11B #1BA161 #1E1BA1 #A11B5B
square
#9EA11B #1BA161 #1E1BA1 #A11B5B
split-complementary
#9EA11B #1B5BA1 #611BA1
monochromatic
#373809 #6B6D12 #9EA11B #D1D524 #DFE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA11B#FFFFFF#000000##000000
##9EA11B1.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: #9ea11b;
/* rgb */ color: rgb(158, 161, 27);
/* oklch */ color: oklch(68.4% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#bfbc66',
    500: '#9ea11b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea11b;
$custom-light: #bfbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea11b",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 61.343,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.14342,
    "h": 111
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#9EA11B
secondary
#5552C5
accent
#3AEE3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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