#9EAC3E#9EAC3E

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

Color values

HEX#9EAC3E
RGBrgb(158, 172, 62)
HSLhsl(68, 47%, 46%)
HSVhsv(68, 64%, 67%)
CMYKcmyk(8.1%, 0%, 64%, 32.5%)
CIE-LABlab(67.37, -19.97, 53.04)
CIE-LCHlch(67.37, 56.67, 110.63°)
OKLaboklab(71.18% -0.0591 0.1207)
OKLCHoklch(71.18% 0.134 116.1)
XYZxyz(29.7232, 37.1223, 10.1560)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC3E #4C3EAC
analogous
#AC833E #9EAC3E #67AC3E
triadic
#9EAC3E #3E9EAC #AC3E9E
tetradic
#9EAC3E #3EAC83 #4C3EAC #AC3E67
square
#9EAC3E #3EAC83 #4C3EAC #AC3E67
split-complementary
#9EAC3E #3E67AC #833EAC
monochromatic
#4B521E #757F2E #9EAC3E #B9C661 #CDD68E

Accessibility & contrast

On white

2.49
#9EAC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC3E#FFFFFF#000000##000000
##9EAC3E1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A330
Deuteranopia (green-blind)
#B6A545
Tritanopia (blue-blind)
#A8A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac3e;
/* rgb */ color: rgb(158, 172, 62);
/* oklch */ color: oklch(71.2% 0.134 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc479',
    500: '#9eac3e',
    950: '#000000',
  },
}
SCSS
$custom: #9eac3e;
$custom-light: #bdc479;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac3e",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 67.636,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71182,
    "c": 0.1344,
    "h": 116.1
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#9EAC3E
secondary
#8C85C1
accent
#51D762
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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