#9EA531#9EA531

#9EA531 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.136 H 112.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9EA531
RGBrgb(158, 165, 49)
HSLhsl(64, 54%, 42%)
HSVhsv(64, 70%, 65%)
CMYKcmyk(4.2%, 0%, 70.3%, 35.3%)
CIE-LABlab(65.28, -17.21, 56.15)
CIE-LCHlch(65.28, 58.73, 107.05°)
OKLaboklab(69.48% -0.0527 0.1252)
OKLCHoklch(69.48% 0.136 112.8)
XYZxyz(28.1109, 34.4017, 8.0645)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA531 #3831A5
analogous
#A57231 #9EA531 #64A531
triadic
#9EA531 #319EA5 #A5319E
tetradic
#9EA531 #31A572 #3831A5 #A53164
square
#9EA531 #31A572 #3831A5 #A53164
split-complementary
#9EA531 #3164A5 #7231A5
monochromatic
#444715 #717623 #9EA531 #C2C94A #D2D779

Accessibility & contrast

On white

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

On black

7.88
#9EA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA531
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA531#FFFFFF#000000##000000
##9EA5311.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea531;
/* rgb */ color: rgb(158, 165, 49);
/* oklch */ color: oklch(69.5% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf71',
    500: '#9ea531',
    950: '#000000',
  },
}
SCSS
$custom: #9ea531;
$custom-light: #bebf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea531",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 63.621,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.13586,
    "h": 112.8
  },
  "luminance": 0.34401
}

Semantic roles & 50–950 ramp

primary
#9EA531
secondary
#7772C0
accent
#4ADE53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA531

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

Preview Lab → · Contrast checker → · Palette generator →

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