#9EAC4A#9EAC4A

#9EAC4A is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.124 H 116.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#9EAC4A
RGBrgb(158, 172, 74)
HSLhsl(69, 40%, 48%)
HSVhsv(69, 57%, 67%)
CMYKcmyk(8.1%, 0%, 57%, 32.5%)
CIE-LABlab(67.48, -19.05, 47.81)
CIE-LCHlch(67.48, 51.47, 111.72°)
OKLaboklab(71.3% -0.0553 0.1112)
OKLCHoklch(71.3% 0.124 116.4)
XYZxyz(30.0896, 37.2689, 12.0857)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC4A #584AAC
analogous
#AC894A #9EAC4A #6DAC4A
triadic
#9EAC4A #4A9EAC #AC4A9E
tetradic
#9EAC4A #4AAC89 #584AAC #AC4A6D
square
#9EAC4A #4AAC89 #584AAC #AC4A6D
split-complementary
#9EAC4A #4A6DAC #894AAC
monochromatic
#4F5625 #778138 #9EAC4A #B6C271 #CCD49C

Accessibility & contrast

On white

2.48
#9EAC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#9EAC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC4A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC4A#FFFFFF#000000##000000
##9EAC4A1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A440
Deuteranopia (green-blind)
#B6A550
Tritanopia (blue-blind)
#A7A397
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac4a;
/* rgb */ color: rgb(158, 172, 74);
/* oklch */ color: oklch(71.3% 0.124 116.4);
Tailwind
colors: {
  custom: {
    50: '#bdc480',
    500: '#9eac4a',
    950: '#000000',
  },
}
SCSS
$custom: #9eac4a;
$custom-light: #bdc480;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac4a",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 68.571,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71305,
    "c": 0.12415,
    "h": 116.4
  },
  "luminance": 0.37269
}

Semantic roles & 50–950 ramp

primary
#9EAC4A
secondary
#9891C1
accent
#58D069
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9EAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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