#9BA652#9BA652

#9BA652 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.110 H 115.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9BA652
RGBrgb(155, 166, 82)
HSLhsl(68, 34%, 49%)
HSVhsv(68, 51%, 65%)
CMYKcmyk(6.6%, 0%, 50.6%, 34.9%)
CIE-LABlab(65.63, -16.51, 41.77)
CIE-LCHlch(65.63, 44.91, 111.57°)
OKLaboklab(69.8% -0.0471 0.099)
OKLCHoklch(69.8% 0.11 115.5)
XYZxyz(28.6772, 34.8506, 13.1971)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA652 #5D52A6
analogous
#A68752 #9BA652 #71A652
triadic
#9BA652 #529BA6 #A6529B
tetradic
#9BA652 #52A687 #5D52A6 #A65271
square
#9BA652 #52A687 #5D52A6 #A65271
split-complementary
#9BA652 #5271A6 #8752A6
monochromatic
#4E542A #757D3E #9BA652 #B4BD79 #CBD1A2

Accessibility & contrast

On white

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

On black

7.97
#9BA652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA652
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA652#FFFFFF#000000##000000
##9BA6521.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4A
Deuteranopia (green-blind)
#AFA057
Tritanopia (blue-blind)
#A39E93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba652;
/* rgb */ color: rgb(155, 166, 82);
/* oklch */ color: oklch(69.8% 0.110 115.5);
Tailwind
colors: {
  custom: {
    50: '#bac085',
    500: '#9ba652',
    950: '#000000',
  },
}
SCSS
$custom: #9ba652;
$custom-light: #bac085;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba652",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 67.857,
    "s": 33.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.1096,
    "h": 115.5
  },
  "luminance": 0.3485
}

Semantic roles & 50–950 ramp

primary
#9BA652
secondary
#9B96BE
accent
#5ECA6C
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA652

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

Preview Lab → · Contrast checker → · Palette generator →

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