#9FA261#9FA261

#9FA261 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.087 H 110.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9FA261
RGBrgb(159, 162, 97)
HSLhsl(63, 26%, 51%)
HSVhsv(63, 40%, 64%)
CMYKcmyk(1.9%, 0%, 40.1%, 36.5%)
CIE-LABlab(65.02, -11.18, 33.42)
CIE-LCHlch(65.02, 35.24, 108.49°)
OKLaboklab(69.46% -0.0308 0.0814)
OKLCHoklch(69.46% 0.087 110.7)
XYZxyz(29.3764, 34.0752, 16.3366)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA261 #6461A2
analogous
#A28461 #9FA261 #7EA261
triadic
#9FA261 #619FA2 #A2619F
tetradic
#9FA261 #61A284 #6461A2 #A2617E
square
#9FA261 #61A284 #6461A2 #A2617E
split-complementary
#9FA261 #617EA2 #8461A2
monochromatic
#545633 #7A7D49 #9FA261 #B6B988 #CECFAE

Accessibility & contrast

On white

2.69
#9FA261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9FA261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA261
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA261#FFFFFF#000000##000000
##9FA2611.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5C
Deuteranopia (green-blind)
#AC9F64
Tritanopia (blue-blind)
#A79B92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa261;
/* rgb */ color: rgb(159, 162, 97);
/* oklch */ color: oklch(69.5% 0.087 110.7);
Tailwind
colors: {
  custom: {
    50: '#bcbd8f',
    500: '#9fa261',
    950: '#000000',
  },
}
SCSS
$custom: #9fa261;
$custom-light: #bcbd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa261",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 62.769,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.69455,
    "c": 0.08701,
    "h": 110.7
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#9FA261
secondary
#A2A1BE
accent
#66C26A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA261

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

Preview Lab → · Contrast checker → · Palette generator →

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