#9BA245#9BA245

#9BA245 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.117 H 113.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9BA245
RGBrgb(155, 162, 69)
HSLhsl(65, 40%, 45%)
HSVhsv(65, 57%, 64%)
CMYKcmyk(4.3%, 0%, 57.4%, 36.5%)
CIE-LABlab(64.35, -15.60, 46.55)
CIE-LCHlch(64.35, 49.09, 108.53°)
OKLaboklab(68.73% -0.0459 0.1079)
OKLCHoklch(68.73% 0.117 113)
XYZxyz(27.5127, 33.2394, 10.5956)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA245 #4C45A2
analogous
#A27A45 #9BA245 #6CA245
triadic
#9BA245 #459BA2 #A2459B
tetradic
#9BA245 #45A27A #4C45A2 #A2456C
square
#9BA245 #45A27A #4C45A2 #A2456C
split-complementary
#9BA245 #456CA2 #7A45A2
monochromatic
#494C20 #727733 #9BA245 #B7BE66 #CBD091

Accessibility & contrast

On white

2.75
#9BA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9BA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA245
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA245#FFFFFF#000000##000000
##9BA2451.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3B
Deuteranopia (green-blind)
#AD9D4A
Tritanopia (blue-blind)
#A4998E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba245;
/* rgb */ color: rgb(155, 162, 69);
/* oklch */ color: oklch(68.7% 0.117 113.0);
Tailwind
colors: {
  custom: {
    50: '#bbbd7c',
    500: '#9ba245',
    950: '#000000',
  },
}
SCSS
$custom: #9ba245;
$custom-light: #bbbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba245",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 64.516,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68731,
    "c": 0.11728,
    "h": 113
  },
  "luminance": 0.33239
}

Semantic roles & 50–950 ramp

primary
#9BA245
secondary
#8B87BC
accent
#58D061
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9BA245

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

Preview Lab → · Contrast checker → · Palette generator →

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