#9EA727#9EA727

#9EA727 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.144 H 113.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9EA727
RGBrgb(158, 167, 39)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 77%, 65%)
CMYKcmyk(5.4%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.79, -18.72, 60.16)
CIE-LCHlch(65.79, 63.01, 107.29°)
OKLaboklab(69.87% -0.0578 0.1319)
OKLCHoklch(69.87% 0.144 113.7)
XYZxyz(28.2864, 35.0536, 7.1950)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA727 #3027A7
analogous
#A77027 #9EA727 #5EA727
triadic
#9EA727 #279EA7 #A7279E
tetradic
#9EA727 #27A770 #3027A7 #A7275E
square
#9EA727 #27A770 #3027A7 #A7275E
split-complementary
#9EA727 #275EA7 #7027A7
monochromatic
#404410 #6F751B #9EA727 #C6D13A #D5DD6C

Accessibility & contrast

On white

2.62
#9EA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9EA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA727
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA727#FFFFFF#000000##000000
##9EA7271.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea727;
/* rgb */ color: rgb(158, 167, 39);
/* oklch */ color: oklch(69.9% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec16c',
    500: '#9ea727',
    950: '#000000',
  },
}
SCSS
$custom: #9ea727;
$custom-light: #bec16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea727",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 64.219,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69868,
    "c": 0.14403,
    "h": 113.7
  },
  "luminance": 0.35053
}

Semantic roles & 50–950 ramp

primary
#9EA727
secondary
#6D67C3
accent
#43E54E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA727

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

Preview Lab → · Contrast checker → · Palette generator →

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