#9BA045#9BA045

#9BA045 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.3% C 0.115 H 112.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9BA045
RGBrgb(155, 160, 69)
HSLhsl(63, 40%, 45%)
HSVhsv(63, 57%, 63%)
CMYKcmyk(3.1%, 0%, 56.9%, 37.3%)
CIE-LABlab(63.79, -14.56, 45.91)
CIE-LCHlch(63.79, 48.16, 107.60°)
OKLaboklab(68.28% -0.043 0.1066)
OKLCHoklch(68.28% 0.115 112)
XYZxyz(27.1632, 32.5404, 10.4791)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA045 #4A45A0
analogous
#A07845 #9BA045 #6DA045
triadic
#9BA045 #459BA0 #A0459B
tetradic
#9BA045 #45A078 #4A45A0 #A0456D
square
#9BA045 #45A078 #4A45A0 #A0456D
split-complementary
#9BA045 #456DA0 #7845A0
monochromatic
#484A20 #727533 #9BA045 #B8BD65 #CCCF90

Accessibility & contrast

On white

2.80
#9BA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9BA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA045
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA045#FFFFFF#000000##000000
##9BA0451.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#AB9C4A
Tritanopia (blue-blind)
#A5978C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba045;
/* rgb */ color: rgb(155, 160, 69);
/* oklch */ color: oklch(68.3% 0.115 112.0);
Tailwind
colors: {
  custom: {
    50: '#bbbc7c',
    500: '#9ba045',
    950: '#000000',
  },
}
SCSS
$custom: #9ba045;
$custom-light: #bbbc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba045",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 63.297,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.1149,
    "h": 112
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#9BA045
secondary
#8986BB
accent
#58D05F
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9BA045

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

Preview Lab → · Contrast checker → · Palette generator →

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