#9FA256#9FA256

#9FA256 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.099 H 110.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9FA256
RGBrgb(159, 162, 86)
HSLhsl(62, 31%, 49%)
HSVhsv(62, 47%, 64%)
CMYKcmyk(1.9%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.87, -12.37, 38.92)
CIE-LCHlch(64.87, 40.84, 107.63°)
OKLaboklab(69.29% -0.0352 0.093)
OKLCHoklch(69.29% 0.099 110.7)
XYZxyz(28.8986, 33.8840, 13.8202)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA256 #5956A2
analogous
#A27F56 #9FA256 #79A256
triadic
#9FA256 #569FA2 #A2569F
tetradic
#9FA256 #56A27F #5956A2 #A25679
square
#9FA256 #56A27F #5956A2 #A25679
split-complementary
#9FA256 #5679A2 #7F56A2
monochromatic
#51522C #787A41 #9FA256 #B7B97C #CDCFA4

Accessibility & contrast

On white

2.70
#9FA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9FA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA256
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA256#FFFFFF#000000##000000
##9FA2561.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4F
Deuteranopia (green-blind)
#AD9F5A
Tritanopia (blue-blind)
#A89A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa256;
/* rgb */ color: rgb(159, 162, 86);
/* oklch */ color: oklch(69.3% 0.099 110.7);
Tailwind
colors: {
  custom: {
    50: '#bdbd87',
    500: '#9fa256',
    950: '#000000',
  },
}
SCSS
$custom: #9fa256;
$custom-light: #bdbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa256",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 62.368,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.0994,
    "h": 110.7
  },
  "luminance": 0.33883
}

Semantic roles & 50–950 ramp

primary
#9FA256
secondary
#9998BC
accent
#61C765
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA256

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

Preview Lab → · Contrast checker → · Palette generator →

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