#9EAC3D#9EAC3D

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

Color values

HEX#9EAC3D
RGBrgb(158, 172, 61)
HSLhsl(68, 48%, 46%)
HSVhsv(68, 65%, 67%)
CMYKcmyk(8.1%, 0%, 64.5%, 32.5%)
CIE-LABlab(67.36, -20.03, 53.45)
CIE-LCHlch(67.36, 57.08, 110.55°)
OKLaboklab(71.17% -0.0594 0.1214)
OKLCHoklch(71.17% 0.135 116.1)
XYZxyz(29.6960, 37.1115, 10.0128)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC3D #4B3DAC
analogous
#AC823D #9EAC3D #66AC3D
triadic
#9EAC3D #3D9EAC #AC3D9E
tetradic
#9EAC3D #3DAC82 #4B3DAC #AC3D66
square
#9EAC3D #3DAC82 #4B3DAC #AC3D66
split-complementary
#9EAC3D #3D66AC #823DAC
monochromatic
#4B521D #747F2D #9EAC3D #BAC760 #CDD78D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC3D#FFFFFF#000000##000000
##9EAC3D1.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)
#B8A32F
Deuteranopia (green-blind)
#B6A545
Tritanopia (blue-blind)
#A8A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac3d;
/* rgb */ color: rgb(158, 172, 61);
/* oklch */ color: oklch(71.2% 0.135 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc478',
    500: '#9eac3d',
    950: '#000000',
  },
}
SCSS
$custom: #9eac3d;
$custom-light: #bdc478;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac3d",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 67.568,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71173,
    "c": 0.13518,
    "h": 116.1
  },
  "luminance": 0.37111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9EAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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