#9EA540#9EA540

#9EA540 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.124 H 112.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9EA540
RGBrgb(158, 165, 64)
HSLhsl(64, 44%, 45%)
HSVhsv(64, 61%, 65%)
CMYKcmyk(4.2%, 0%, 61.2%, 35.3%)
CIE-LABlab(65.40, -16.26, 50.05)
CIE-LCHlch(65.40, 52.62, 108.00°)
OKLaboklab(69.61% -0.0485 0.1147)
OKLCHoklch(69.61% 0.125 112.9)
XYZxyz(28.4818, 34.5501, 10.0180)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA540 #4740A5
analogous
#A57940 #9EA540 #6CA540
triadic
#9EA540 #409EA5 #A5409E
tetradic
#9EA540 #40A579 #4740A5 #A5406C
square
#9EA540 #40A579 #4740A5 #A5406C
split-complementary
#9EA540 #406CA5 #7940A5
monochromatic
#4A4D1E #74792F #9EA540 #BBC261 #CED38D

Accessibility & contrast

On white

2.65
#9EA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9EA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA540
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA540#FFFFFF#000000##000000
##9EA5401.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#A89C90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea540;
/* rgb */ color: rgb(158, 165, 64);
/* oklch */ color: oklch(69.6% 0.124 112.9);
Tailwind
colors: {
  custom: {
    50: '#bdbf79',
    500: '#9ea540',
    950: '#000000',
  },
}
SCSS
$custom: #9ea540;
$custom-light: #bdbf79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea540",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 64.158,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.1245,
    "h": 112.9
  },
  "luminance": 0.3455
}

Semantic roles & 50–950 ramp

primary
#9EA540
secondary
#8783BE
accent
#54D45D
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA540

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

Preview Lab → · Contrast checker → · Palette generator →

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