#9EA71B#9EA71B

#9EA71B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.150 H 113.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9EA71B
RGBrgb(158, 167, 27)
HSLhsl(64, 72%, 38%)
HSVhsv(64, 84%, 65%)
CMYKcmyk(5.4%, 0%, 83.8%, 34.5%)
CIE-LABlab(65.74, -19.16, 63.54)
CIE-LCHlch(65.74, 66.36, 106.78°)
OKLaboklab(69.81% -0.0599 0.137)
OKLCHoklch(69.81% 0.15 113.6)
XYZxyz(28.1180, 34.9863, 6.3085)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA71B #241BA7
analogous
#A76A1B #9EA71B #58A71B
triadic
#9EA71B #1B9EA7 #A71B9E
tetradic
#9EA71B #1BA76A #241BA7 #A71B58
square
#9EA71B #1BA76A #241BA7 #A71B58
split-complementary
#9EA71B #1B58A7 #6A1BA7
monochromatic
#3A3E0A #6C7212 #9EA71B #D0DC24 #DBE458

Accessibility & contrast

On white

2.63
#9EA71B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9EA71B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA71B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA71B#FFFFFF#000000##000000
##9EA71B1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B4A12A
Tritanopia (blue-blind)
#A99C8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea71b;
/* rgb */ color: rgb(158, 167, 27);
/* oklch */ color: oklch(69.8% 0.150 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc067',
    500: '#9ea71b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea71b;
$custom-light: #bfc067;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea71b",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 63.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.14954,
    "h": 113.6
  },
  "luminance": 0.34986
}

Semantic roles & 50–950 ramp

primary
#9EA71B
secondary
#5E56C8
accent
#39EF45
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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