#9EA530#9EA530

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

Color values

HEX#9EA530
RGBrgb(158, 165, 48)
HSLhsl(64, 55%, 42%)
HSVhsv(64, 71%, 65%)
CMYKcmyk(4.2%, 0%, 70.9%, 35.3%)
CIE-LABlab(65.27, -17.27, 56.52)
CIE-LCHlch(65.27, 59.10, 106.99°)
OKLaboklab(69.47% -0.053 0.1258)
OKLCHoklch(69.47% 0.137 112.8)
XYZxyz(28.0900, 34.3934, 7.9546)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA530 #3730A5
analogous
#A57230 #9EA530 #64A530
triadic
#9EA530 #309EA5 #A5309E
tetradic
#9EA530 #30A572 #3730A5 #A53064
square
#9EA530 #30A572 #3730A5 #A53064
split-complementary
#9EA530 #3064A5 #7230A5
monochromatic
#434614 #717622 #9EA530 #C2CA48 #D2D878

Accessibility & contrast

On white

2.67
#9EA530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA530#FFFFFF#000000##000000
##9EA5301.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea530;
/* rgb */ color: rgb(158, 165, 48);
/* oklch */ color: oklch(69.5% 0.137 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf70',
    500: '#9ea530',
    950: '#000000',
  },
}
SCSS
$custom: #9ea530;
$custom-light: #bebf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea530",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 63.59,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.13652,
    "h": 112.8
  },
  "luminance": 0.34393
}

Semantic roles & 50–950 ramp

primary
#9EA530
secondary
#7671C0
accent
#4ADE52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA530

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

Preview Lab → · Contrast checker → · Palette generator →

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