#9EA532#9EA532

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

Color values

HEX#9EA532
RGBrgb(158, 165, 50)
HSLhsl(64, 53%, 42%)
HSVhsv(64, 70%, 65%)
CMYKcmyk(4.2%, 0%, 69.7%, 35.3%)
CIE-LABlab(65.29, -17.16, 55.77)
CIE-LCHlch(65.29, 58.35, 107.10°)
OKLaboklab(69.49% -0.0525 0.1246)
OKLCHoklch(69.49% 0.135 112.8)
XYZxyz(28.1322, 34.4103, 8.1769)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA532 #3932A5
analogous
#A57232 #9EA532 #65A532
triadic
#9EA532 #329EA5 #A5329E
tetradic
#9EA532 #32A572 #3932A5 #A53265
square
#9EA532 #32A572 #3932A5 #A53265
split-complementary
#9EA532 #3265A5 #7232A5
monochromatic
#444716 #717624 #9EA532 #C1C94C #D1D77B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA532#FFFFFF#000000##000000
##9EA5321.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)
#B19D20
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#A99B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea532;
/* rgb */ color: rgb(158, 165, 50);
/* oklch */ color: oklch(69.5% 0.135 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf71',
    500: '#9ea532',
    950: '#000000',
  },
}
SCSS
$custom: #9ea532;
$custom-light: #bebf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea532",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 63.652,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.13518,
    "h": 112.8
  },
  "luminance": 0.3441
}

Semantic roles & 50–950 ramp

primary
#9EA532
secondary
#7873BF
accent
#4BDD54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA532

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

Preview Lab → · Contrast checker → · Palette generator →

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