#9EA427#9EA427

#9EA427 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.141 H 112.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9EA427
RGBrgb(158, 164, 39)
HSLhsl(63, 62%, 40%)
HSVhsv(63, 76%, 64%)
CMYKcmyk(3.7%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.94, -17.19, 59.37)
CIE-LCHlch(64.94, 61.81, 106.15°)
OKLaboklab(69.18% -0.0536 0.1302)
OKLCHoklch(69.18% 0.141 112.4)
XYZxyz(27.7431, 33.9672, 7.0139)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA427 #2D27A4
analogous
#A46C27 #9EA427 #60A427
triadic
#9EA427 #279EA4 #A4279E
tetradic
#9EA427 #27A46C #2D27A4 #A42760
square
#9EA427 #27A46C #2D27A4 #A42760
split-complementary
#9EA427 #2760A4 #6C27A4
monochromatic
#3F410F #6E731B #9EA427 #C9D038 #D6DC6A

Accessibility & contrast

On white

2.69
#9EA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9EA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA427
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA427#FFFFFF#000000##000000
##9EA4271.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea427;
/* rgb */ color: rgb(158, 164, 39);
/* oklch */ color: oklch(69.2% 0.141 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6c',
    500: '#9ea427',
    950: '#000000',
  },
}
SCSS
$custom: #9ea427;
$custom-light: #bebe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea427",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 62.88,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69184,
    "c": 0.14083,
    "h": 112.4
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#9EA427
secondary
#6965C2
accent
#43E54B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA427

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

Preview Lab → · Contrast checker → · Palette generator →

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