#9F9155#9F9155

#9F9155 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.5% C 0.082 H 96.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F9155
RGBrgb(159, 145, 85)
HSLhsl(49, 30%, 48%)
HSVhsv(49, 47%, 62%)
CMYKcmyk(0%, 8.8%, 46.5%, 37.6%)
CIE-LABlab(60.14, -3.35, 33.61)
CIE-LCHlch(60.14, 33.78, 95.69°)
OKLaboklab(65.52% -0.0094 0.0811)
OKLCHoklch(65.52% 0.082 96.6)
XYZxyz(26.0639, 28.2786, 12.6779)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9155 #55639F
analogous
#9F6C55 #9F9155 #889F55
triadic
#9F9155 #559F91 #91559F
tetradic
#9F9155 #559F6C #55639F #9F5588
square
#9F9155 #559F6C #55639F #9F5588
split-complementary
#9F9155 #55889F #6C559F
monochromatic
#4F482A #776D40 #9F9155 #B8AC7A #CDC5A1

Accessibility & contrast

On white

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

On black

6.66
#9F9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9155
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9155#FFFFFF#000000##000000
##9F91551.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9155;
/* rgb */ color: rgb(159, 145, 85);
/* oklch */ color: oklch(65.5% 0.082 96.6);
Tailwind
colors: {
  custom: {
    50: '#bdb186',
    500: '#9f9155',
    950: '#000000',
  },
}
SCSS
$custom: #9f9155;
$custom-light: #bdb186;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9155",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 48.649,
    "s": 30.328,
    "l": 47.843
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.08163,
    "h": 96.6
  },
  "luminance": 0.28278
}

Semantic roles & 50–950 ramp

primary
#9F9155
secondary
#959CBA
accent
#74C761
background
#FBFAF8
surface
#F7F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9F9155

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

Preview Lab → · Contrast checker → · Palette generator →

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