#9BA855#9BA855

#9BA855 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.109 H 116.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9BA855
RGBrgb(155, 168, 85)
HSLhsl(69, 33%, 50%)
HSVhsv(69, 49%, 66%)
CMYKcmyk(7.7%, 0%, 49.4%, 34.1%)
CIE-LABlab(66.24, -17.24, 41.00)
CIE-LCHlch(66.24, 44.48, 112.81°)
OKLaboklab(70.29% -0.0489 0.0975)
OKLCHoklch(70.29% 0.109 116.6)
XYZxyz(29.1602, 35.6300, 13.9337)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA855 #6255A8
analogous
#A88C55 #9BA855 #71A855
triadic
#9BA855 #559BA8 #A8559B
tetradic
#9BA855 #55A88C #6255A8 #A85571
square
#9BA855 #55A88C #6255A8 #A85571
split-complementary
#9BA855 #5571A8 #8C55A8
monochromatic
#50572C #767F40 #9BA855 #B3BD7D #CBD2A6

Accessibility & contrast

On white

2.58
#9BA855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9BA855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA855
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA855#FFFFFF#000000##000000
##9BA8551.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14E
Deuteranopia (green-blind)
#B0A259
Tritanopia (blue-blind)
#A3A095
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba855;
/* rgb */ color: rgb(155, 168, 85);
/* oklch */ color: oklch(70.3% 0.109 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac187',
    500: '#9ba855',
    950: '#000000',
  },
}
SCSS
$custom: #9ba855;
$custom-light: #bac187;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba855",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 69.398,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70294,
    "c": 0.10911,
    "h": 116.6
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

primary
#9BA855
secondary
#9F99BF
accent
#5FC96F
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA855

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

Preview Lab → · Contrast checker → · Palette generator →

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