#9FA155#9FA155

#9FA155 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.099 H 110.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9FA155
RGBrgb(159, 161, 85)
HSLhsl(62, 31%, 48%)
HSVhsv(62, 47%, 63%)
CMYKcmyk(1.2%, 0%, 47.2%, 36.9%)
CIE-LABlab(64.58, -11.94, 39.07)
CIE-LCHlch(64.58, 40.86, 106.99°)
OKLaboklab(69.05% -0.0341 0.0932)
OKLCHoklch(69.05% 0.099 110.1)
XYZxyz(28.6832, 33.5171, 13.5510)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA155 #5755A1
analogous
#A17D55 #9FA155 #79A155
triadic
#9FA155 #559FA1 #A1559F
tetradic
#9FA155 #55A17D #5755A1 #A15579
square
#9FA155 #55A17D #5755A1 #A15579
split-complementary
#9FA155 #5579A1 #7D55A1
monochromatic
#50512B #777940 #9FA155 #B7B97A #CDCEA2

Accessibility & contrast

On white

2.73
#9FA155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9FA155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA155
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA155#FFFFFF#000000##000000
##9FA1551.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4E
Deuteranopia (green-blind)
#AC9E59
Tritanopia (blue-blind)
#A8998F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa155;
/* rgb */ color: rgb(159, 161, 85);
/* oklch */ color: oklch(69.0% 0.099 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdbc86',
    500: '#9fa155',
    950: '#000000',
  },
}
SCSS
$custom: #9fa155;
$custom-light: #bdbc86;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa155",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 85
  },
  "hsl": {
    "h": 61.579,
    "s": 30.894,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.09926,
    "h": 110.1
  },
  "luminance": 0.33517
}

Semantic roles & 50–950 ramp

primary
#9FA155
secondary
#9796BC
accent
#61C763
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA155

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

Preview Lab → · Contrast checker → · Palette generator →

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