#9E9155#9E9155

#9E9155 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.4% C 0.081 H 97.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9E9155
RGBrgb(158, 145, 85)
HSLhsl(49, 30%, 48%)
HSVhsv(49, 46%, 62%)
CMYKcmyk(0%, 8.2%, 46.2%, 38%)
CIE-LABlab(60.05, -3.78, 33.48)
CIE-LCHlch(60.05, 33.69, 96.43°)
OKLaboklab(65.43% -0.0106 0.0808)
OKLCHoklch(65.43% 0.081 97.4)
XYZxyz(25.8663, 28.1767, 12.6687)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9155 #55629E
analogous
#9E6C55 #9E9155 #869E55
triadic
#9E9155 #559E91 #91559E
tetradic
#9E9155 #559E6C #55629E #9E5586
square
#9E9155 #559E6C #55629E #9E5586
split-complementary
#9E9155 #55869E #6C559E
monochromatic
#4E482A #766C40 #9E9155 #B7AC79 #CCC5A1

Accessibility & contrast

On white

3.16
#9E9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9E9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9155
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9155#FFFFFF#000000##000000
##9E91551.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8E50
Deuteranopia (green-blind)
#9F9357
Tritanopia (blue-blind)
#A88982
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9155;
/* rgb */ color: rgb(158, 145, 85);
/* oklch */ color: oklch(65.4% 0.081 97.4);
Tailwind
colors: {
  custom: {
    50: '#bcb186',
    500: '#9e9155',
    950: '#000000',
  },
}
SCSS
$custom: #9e9155;
$custom-light: #bcb186;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9155",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 49.315,
    "s": 30.041,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.08149,
    "h": 97.4
  },
  "luminance": 0.28176
}

Semantic roles & 50–950 ramp

primary
#9E9155
secondary
#959CBA
accent
#73C662
background
#FBFAF8
surface
#F7F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9E9155

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

Preview Lab → · Contrast checker → · Palette generator →

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