#9EA127#9EA127

#9EA127 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.138 H 111.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9EA127
RGBrgb(158, 161, 39)
HSLhsl(61, 61%, 39%)
HSVhsv(61, 76%, 63%)
CMYKcmyk(1.9%, 0%, 75.8%, 36.9%)
CIE-LABlab(64.08, -15.65, 58.58)
CIE-LCHlch(64.08, 60.64, 104.96°)
OKLaboklab(68.5% -0.0493 0.1286)
OKLCHoklch(68.5% 0.138 111)
XYZxyz(27.2126, 32.9061, 6.8371)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA127 #2A27A1
analogous
#A16727 #9EA127 #61A127
triadic
#9EA127 #279EA1 #A1279E
tetradic
#9EA127 #27A167 #2A27A1 #A12761
square
#9EA127 #27A167 #2A27A1 #A12761
split-complementary
#9EA127 #2761A1 #6727A1
monochromatic
#3D3E0F #6E701B #9EA127 #CBCE37 #D8DA68

Accessibility & contrast

On white

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

On black

7.58
#9EA127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA127
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA127#FFFFFF#000000##000000
##9EA1271.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A09
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea127;
/* rgb */ color: rgb(158, 161, 39);
/* oklch */ color: oklch(68.5% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc6b',
    500: '#9ea127',
    950: '#000000',
  },
}
SCSS
$custom: #9ea127;
$custom-light: #bebc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea127",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 61.475,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68502,
    "c": 0.13769,
    "h": 111
  },
  "luminance": 0.32905
}

Semantic roles & 50–950 ramp

primary
#9EA127
secondary
#6663C0
accent
#44E448
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA127

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

Preview Lab → · Contrast checker → · Palette generator →

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