#9EA640#9EA640

#9EA640 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.126 H 113.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9EA640
RGBrgb(158, 166, 64)
HSLhsl(65, 44%, 45%)
HSVhsv(65, 61%, 65%)
CMYKcmyk(4.8%, 0%, 61.4%, 34.9%)
CIE-LABlab(65.68, -16.77, 50.36)
CIE-LCHlch(65.68, 53.08, 108.42°)
OKLaboklab(69.84% -0.0499 0.1153)
OKLCHoklch(69.84% 0.126 113.4)
XYZxyz(28.6629, 34.9122, 10.0783)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA640 #4840A6
analogous
#A67B40 #9EA640 #6BA640
triadic
#9EA640 #409EA6 #A6409E
tetradic
#9EA640 #40A67B #4840A6 #A6406B
square
#9EA640 #40A67B #4840A6 #A6406B
split-complementary
#9EA640 #406BA6 #7B40A6
monochromatic
#4A4E1E #747A2F #9EA640 #BBC261 #CED38D

Accessibility & contrast

On white

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

On black

7.98
#9EA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA640
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA640#FFFFFF#000000##000000
##9EA6401.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E34
Deuteranopia (green-blind)
#B1A146
Tritanopia (blue-blind)
#A89D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea640;
/* rgb */ color: rgb(158, 166, 64);
/* oklch */ color: oklch(69.8% 0.126 113.4);
Tailwind
colors: {
  custom: {
    50: '#bdc079',
    500: '#9ea640',
    950: '#000000',
  },
}
SCSS
$custom: #9ea640;
$custom-light: #bdc079;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea640",
  "rgb": {
    "r": 158,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 64.706,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69835,
    "c": 0.12567,
    "h": 113.4
  },
  "luminance": 0.34912
}

Semantic roles & 50–950 ramp

primary
#9EA640
secondary
#8884BE
accent
#54D45E
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA640

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

Preview Lab → · Contrast checker → · Palette generator →

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