#9BA657#9BA657

#9BA657 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.104 H 115.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9BA657
RGBrgb(155, 166, 87)
HSLhsl(68, 31%, 50%)
HSVhsv(68, 48%, 65%)
CMYKcmyk(6.6%, 0%, 47.6%, 34.9%)
CIE-LABlab(65.69, -16.01, 39.34)
CIE-LCHlch(65.69, 42.47, 112.14°)
OKLaboklab(69.87% -0.0452 0.094)
OKLCHoklch(69.87% 0.104 115.7)
XYZxyz(28.8744, 34.9294, 14.2359)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA657 #6257A6
analogous
#A68957 #9BA657 #74A657
triadic
#9BA657 #579BA6 #A6579B
tetradic
#9BA657 #57A689 #6257A6 #A65774
square
#9BA657 #57A689 #6257A6 #A65774
split-complementary
#9BA657 #5774A6 #8957A6
monochromatic
#50562D #767E42 #9BA657 #B3BC7F #CBD1A7

Accessibility & contrast

On white

2.63
#9BA657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9BA657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA657
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA657#FFFFFF#000000##000000
##9BA6571.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F50
Deuteranopia (green-blind)
#AFA05B
Tritanopia (blue-blind)
#A39E94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba657;
/* rgb */ color: rgb(155, 166, 87);
/* oklch */ color: oklch(69.9% 0.104 115.7);
Tailwind
colors: {
  custom: {
    50: '#bac088',
    500: '#9ba657',
    950: '#000000',
  },
}
SCSS
$custom: #9ba657;
$custom-light: #bac088;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba657",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 68.354,
    "s": 31.225,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69868,
    "c": 0.10434,
    "h": 115.7
  },
  "luminance": 0.34929
}

Semantic roles & 50–950 ramp

primary
#9BA657
secondary
#9F9ABE
accent
#60C76F
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA657

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

Preview Lab → · Contrast checker → · Palette generator →

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