#9EAC3A#9EAC3A

#9EAC3A is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.137 H 116.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#9EAC3A
RGBrgb(158, 172, 58)
HSLhsl(67, 50%, 45%)
HSVhsv(67, 66%, 67%)
CMYKcmyk(8.1%, 0%, 66.3%, 32.5%)
CIE-LABlab(67.34, -20.23, 54.67)
CIE-LCHlch(67.34, 58.30, 110.31°)
OKLaboklab(71.15% -0.0602 0.1236)
OKLCHoklch(71.15% 0.137 116)
XYZxyz(29.6175, 37.0801, 9.5991)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC3A #483AAC
analogous
#AC813A #9EAC3A #65AC3A
triadic
#9EAC3A #3A9EAC #AC3A9E
tetradic
#9EAC3A #3AAC81 #483AAC #AC3A65
square
#9EAC3A #3AAC81 #483AAC #AC3A65
split-complementary
#9EAC3A #3A65AC #813AAC
monochromatic
#4A501B #747E2B #9EAC3A #BBC85B #CED789

Accessibility & contrast

On white

2.50
#9EAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#9EAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC3A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC3A#FFFFFF#000000##000000
##9EAC3A1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32A
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#A8A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac3a;
/* rgb */ color: rgb(158, 172, 58);
/* oklch */ color: oklch(71.1% 0.137 116.0);
Tailwind
colors: {
  custom: {
    50: '#bdc476',
    500: '#9eac3a',
    950: '#000000',
  },
}
SCSS
$custom: #9eac3a;
$custom-light: #bdc476;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac3a",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 67.368,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71147,
    "c": 0.13747,
    "h": 116
  },
  "luminance": 0.3708
}

Semantic roles & 50–950 ramp

primary
#9EAC3A
secondary
#8880C2
accent
#4FD960
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9EAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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