#9EAC52#9EAC52

#9EAC52 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.117 H 116.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#9EAC52
RGBrgb(158, 172, 82)
HSLhsl(69, 35%, 50%)
HSVhsv(69, 52%, 67%)
CMYKcmyk(8.1%, 0%, 52.3%, 32.5%)
CIE-LABlab(67.56, -18.34, 44.11)
CIE-LCHlch(67.56, 47.77, 112.58°)
OKLaboklab(71.4% -0.0525 0.104)
OKLCHoklch(71.4% 0.117 116.8)
XYZxyz(30.3765, 37.3837, 13.5965)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC52 #6052AC
analogous
#AC8D52 #9EAC52 #71AC52
triadic
#9EAC52 #529EAC #AC529E
tetradic
#9EAC52 #52AC8D #6052AC #AC5271
square
#9EAC52 #52AC8D #6052AC #AC5271
split-complementary
#9EAC52 #5271AC #8D52AC
monochromatic
#52592A #78833E #9EAC52 #B5C07B #CDD4A5

Accessibility & contrast

On white

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

On black

8.48
#9EAC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC52
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC52#FFFFFF#000000##000000
##9EAC521.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#B5A557
Tritanopia (blue-blind)
#A6A498
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9eac52;
/* rgb */ color: rgb(158, 172, 82);
/* oklch */ color: oklch(71.4% 0.117 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc485',
    500: '#9eac52',
    950: '#000000',
  },
}
SCSS
$custom: #9eac52;
$custom-light: #bcc485;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac52",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 69.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.1165,
    "h": 116.8
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#9EAC52
secondary
#9F99C1
accent
#5CCB6E
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EAC52

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

Preview Lab → · Contrast checker → · Palette generator →

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