#9FA855#9FA855

#9FA855 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.108 H 114.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9FA855
RGBrgb(159, 168, 85)
HSLhsl(67, 33%, 50%)
HSVhsv(67, 49%, 66%)
CMYKcmyk(5.4%, 0%, 49.4%, 34.1%)
CIE-LABlab(66.54, -15.59, 41.44)
CIE-LCHlch(66.54, 44.28, 110.61°)
OKLaboklab(70.62% -0.0445 0.0985)
OKLCHoklch(70.62% 0.108 114.3)
XYZxyz(29.9409, 36.0325, 13.9703)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA855 #5E55A8
analogous
#A88855 #9FA855 #76A855
triadic
#9FA855 #559FA8 #A8559F
tetradic
#9FA855 #55A888 #5E55A8 #A85576
square
#9FA855 #55A888 #5E55A8 #A85576
split-complementary
#9FA855 #5576A8 #8855A8
monochromatic
#52572C #797F40 #9FA855 #B6BD7D #CDD2A6

Accessibility & contrast

On white

2.56
#9FA855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9FA855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA855
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA855#FFFFFF#000000##000000
##9FA8551.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14E
Deuteranopia (green-blind)
#B2A359
Tritanopia (blue-blind)
#A8A095
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa855;
/* rgb */ color: rgb(159, 168, 85);
/* oklch */ color: oklch(70.6% 0.108 114.3);
Tailwind
colors: {
  custom: {
    50: '#bdc187',
    500: '#9fa855',
    950: '#000000',
  },
}
SCSS
$custom: #9fa855;
$custom-light: #bdc187;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa855",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 66.506,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.10802,
    "h": 114.3
  },
  "luminance": 0.36032
}

Semantic roles & 50–950 ramp

primary
#9FA855
secondary
#9E99BF
accent
#5FC96A
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA855

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

Preview Lab → · Contrast checker → · Palette generator →

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