#9EA71C#9EA71C

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

Color values

HEX#9EA71C
RGBrgb(158, 167, 28)
HSLhsl(64, 71%, 38%)
HSVhsv(64, 83%, 65%)
CMYKcmyk(5.4%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.74, -19.13, 63.29)
CIE-LCHlch(65.74, 66.12, 106.82°)
OKLaboklab(69.81% -0.0598 0.1366)
OKLCHoklch(69.81% 0.149 113.6)
XYZxyz(28.1298, 34.9910, 6.3705)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA71C #251CA7
analogous
#A76A1C #9EA71C #58A71C
triadic
#9EA71C #1C9EA7 #A71C9E
tetradic
#9EA71C #1CA76A #251CA7 #A71C58
square
#9EA71C #1CA76A #251CA7 #A71C58
split-complementary
#9EA71C #1C58A7 #6A1CA7
monochromatic
#3B3E0A #6C7313 #9EA71C #CFDB26 #DAE35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA71C#FFFFFF#000000##000000
##9EA71C1.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)
#B4A12B
Tritanopia (blue-blind)
#A99C8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea71c;
/* rgb */ color: rgb(158, 167, 28);
/* oklch */ color: oklch(69.8% 0.149 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc068',
    500: '#9ea71c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea71c;
$custom-light: #bfc068;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea71c",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 63.885,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.14915,
    "h": 113.6
  },
  "luminance": 0.3499
}

Semantic roles & 50–950 ramp

primary
#9EA71C
secondary
#5F58C7
accent
#3AEE45
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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