#9BA552#9BA552

#9BA552 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.108 H 114.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9BA552
RGBrgb(155, 165, 82)
HSLhsl(67, 34%, 48%)
HSVhsv(67, 50%, 65%)
CMYKcmyk(6.1%, 0%, 50.3%, 35.3%)
CIE-LABlab(65.35, -15.99, 41.43)
CIE-LCHlch(65.35, 44.41, 111.11°)
OKLaboklab(69.57% -0.0457 0.0982)
OKLCHoklch(69.57% 0.108 114.9)
XYZxyz(28.4961, 34.4884, 13.1368)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA552 #5C52A5
analogous
#A58552 #9BA552 #71A552
triadic
#9BA552 #529BA5 #A5529B
tetradic
#9BA552 #52A585 #5C52A5 #A55271
square
#9BA552 #52A585 #5C52A5 #A55271
split-complementary
#9BA552 #5271A5 #8552A5
monochromatic
#4E5329 #757C3E #9BA552 #B4BC78 #CBD0A1

Accessibility & contrast

On white

2.66
#9BA552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9BA552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA552
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA552#FFFFFF#000000##000000
##9BA5521.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4A
Deuteranopia (green-blind)
#AE9F56
Tritanopia (blue-blind)
#A39D92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba552;
/* rgb */ color: rgb(155, 165, 82);
/* oklch */ color: oklch(69.6% 0.108 114.9);
Tailwind
colors: {
  custom: {
    50: '#babf85',
    500: '#9ba552',
    950: '#000000',
  },
}
SCSS
$custom: #9ba552;
$custom-light: #babf85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba552",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 67.229,
    "s": 33.603,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.10831,
    "h": 114.9
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

primary
#9BA552
secondary
#9A95BE
accent
#5ECA6B
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA552

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

Preview Lab → · Contrast checker → · Palette generator →

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