#9EA340#9EA340

#9EA340 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.122 H 111.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9EA340
RGBrgb(158, 163, 64)
HSLhsl(63, 44%, 45%)
HSVhsv(63, 61%, 64%)
CMYKcmyk(3.1%, 0%, 60.7%, 36.1%)
CIE-LABlab(64.83, -15.23, 49.43)
CIE-LCHlch(64.83, 51.73, 107.12°)
OKLaboklab(69.16% -0.0456 0.1134)
OKLCHoklch(69.16% 0.122 111.9)
XYZxyz(28.1239, 33.8343, 9.8986)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA340 #4540A3
analogous
#A37640 #9EA340 #6DA340
triadic
#9EA340 #409EA3 #A3409E
tetradic
#9EA340 #40A376 #4540A3 #A3406D
square
#9EA340 #40A376 #4540A3 #A3406D
split-complementary
#9EA340 #406DA3 #7640A3
monochromatic
#494B1D #73772F #9EA340 #BCC060 #CED28C

Accessibility & contrast

On white

2.70
#9EA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9EA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA340
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA340#FFFFFF#000000##000000
##9EA3401.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#A89A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea340;
/* rgb */ color: rgb(158, 163, 64);
/* oklch */ color: oklch(69.2% 0.122 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbe79',
    500: '#9ea340',
    950: '#000000',
  },
}
SCSS
$custom: #9ea340;
$custom-light: #bdbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea340",
  "rgb": {
    "r": 158,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 63.03,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69156,
    "c": 0.12219,
    "h": 111.9
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

primary
#9EA340
secondary
#8582BD
accent
#54D35B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA340

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

Preview Lab → · Contrast checker → · Palette generator →

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