#9EA538#9EA538

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

Color values

HEX#9EA538
RGBrgb(158, 165, 56)
HSLhsl(64, 49%, 43%)
HSVhsv(64, 66%, 65%)
CMYKcmyk(4.2%, 0%, 66.1%, 35.3%)
CIE-LABlab(65.33, -16.80, 53.41)
CIE-LCHlch(65.33, 55.99, 107.46°)
OKLaboklab(69.53% -0.0509 0.1206)
OKLCHoklch(69.53% 0.131 112.9)
XYZxyz(28.2703, 34.4655, 8.9039)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA538 #3F38A5
analogous
#A57538 #9EA538 #67A538
triadic
#9EA538 #389EA5 #A5389E
tetradic
#9EA538 #38A575 #3F38A5 #A53867
square
#9EA538 #38A575 #3F38A5 #A53867
split-complementary
#9EA538 #3867A5 #7538A5
monochromatic
#464A19 #727728 #9EA538 #BEC555 #D0D583

Accessibility & contrast

On white

2.66
#9EA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9EA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA538
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA538#FFFFFF#000000##000000
##9EA5381.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#A89B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea538;
/* rgb */ color: rgb(158, 165, 56);
/* oklch */ color: oklch(69.5% 0.131 112.9);
Tailwind
colors: {
  custom: {
    50: '#bdbf75',
    500: '#9ea538',
    950: '#000000',
  },
}
SCSS
$custom: #9ea538;
$custom-light: #bdbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea538",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 63.853,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.13089,
    "h": 112.9
  },
  "luminance": 0.34465
}

Semantic roles & 50–950 ramp

primary
#9EA538
secondary
#7F7ABE
accent
#4FD958
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA538

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

Preview Lab → · Contrast checker → · Palette generator →

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