#9BA752#9BA752

#9BA752 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.111 H 116.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9BA752
RGBrgb(155, 167, 82)
HSLhsl(68, 34%, 49%)
HSVhsv(68, 51%, 65%)
CMYKcmyk(7.2%, 0%, 50.9%, 34.5%)
CIE-LABlab(65.92, -17.02, 42.11)
CIE-LCHlch(65.92, 45.42, 112.01°)
OKLaboklab(70.03% -0.0486 0.0997)
OKLCHoklch(70.03% 0.111 116)
XYZxyz(28.8597, 35.2155, 13.2580)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA752 #5E52A7
analogous
#A78952 #9BA752 #71A752
triadic
#9BA752 #529BA7 #A7529B
tetradic
#9BA752 #52A789 #5E52A7 #A75271
square
#9BA752 #52A789 #5E52A7 #A75271
split-complementary
#9BA752 #5271A7 #8952A7
monochromatic
#4F552A #757E3E #9BA752 #B4BD79 #CBD1A2

Accessibility & contrast

On white

2.61
#9BA752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9BA752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA752
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA752#FFFFFF#000000##000000
##9BA7521.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B0A157
Tritanopia (blue-blind)
#A39F94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba752;
/* rgb */ color: rgb(155, 167, 82);
/* oklch */ color: oklch(70.0% 0.111 116.0);
Tailwind
colors: {
  custom: {
    50: '#bac185',
    500: '#9ba752',
    950: '#000000',
  },
}
SCSS
$custom: #9ba752;
$custom-light: #bac185;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba752",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 82
  },
  "hsl": {
    "h": 68.471,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.1109,
    "h": 116
  },
  "luminance": 0.35215
}

Semantic roles & 50–950 ramp

primary
#9BA752
secondary
#9C96BF
accent
#5ECA6D
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9BA752

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

Preview Lab → · Contrast checker → · Palette generator →

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