#9A9155#9A9155

#9A9155 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.1% C 0.081 H 100.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9A9155
RGBrgb(154, 145, 85)
HSLhsl(52, 29%, 47%)
HSVhsv(52, 45%, 60%)
CMYKcmyk(0%, 5.8%, 44.8%, 39.6%)
CIE-LABlab(59.69, -5.49, 32.95)
CIE-LCHlch(59.69, 33.40, 99.45°)
OKLaboklab(65.06% -0.0153 0.0797)
OKLCHoklch(65.06% 0.081 100.9)
XYZxyz(25.0921, 27.7775, 12.6324)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9155 #555E9A
analogous
#9A6F55 #9A9155 #819A55
triadic
#9A9155 #559A91 #91559A
tetradic
#9A9155 #559A6F #555E9A #9A5581
square
#9A9155 #559A6F #555E9A #9A5581
split-complementary
#9A9155 #55819A #6F559A
monochromatic
#4B4729 #736C3F #9A9155 #B4AC78 #CAC59F

Accessibility & contrast

On white

3.20
#9A9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9A9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9155
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9155#FFFFFF#000000##000000
##9A91551.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E50
Deuteranopia (green-blind)
#9E9157
Tritanopia (blue-blind)
#A38982
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a9155;
/* rgb */ color: rgb(154, 145, 85);
/* oklch */ color: oklch(65.1% 0.081 100.9);
Tailwind
colors: {
  custom: {
    50: '#b9b186',
    500: '#9a9155',
    950: '#000000',
  },
}
SCSS
$custom: #9a9155;
$custom-light: #b9b186;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9155",
  "rgb": {
    "r": 154,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 52.174,
    "s": 28.87,
    "l": 46.863
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.08111,
    "h": 100.9
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#9A9155
secondary
#9398B8
accent
#6FC563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9A9155

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

Preview Lab → · Contrast checker → · Palette generator →

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