#9BA342#9BA342

#9BA342 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.121 H 113.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9BA342
RGBrgb(155, 163, 66)
HSLhsl(65, 42%, 45%)
HSVhsv(65, 60%, 64%)
CMYKcmyk(4.9%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.61, -16.36, 48.22)
CIE-LCHlch(64.61, 50.92, 108.74°)
OKLaboklab(68.93% -0.0484 0.1111)
OKLCHoklch(68.93% 0.121 113.5)
XYZxyz(27.5988, 33.5568, 10.1764)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA342 #4A42A3
analogous
#A37A42 #9BA342 #6BA342
triadic
#9BA342 #429BA3 #A3429B
tetradic
#9BA342 #42A37A #4A42A3 #A3426B
square
#9BA342 #42A37A #4A42A3 #A3426B
split-complementary
#9BA342 #426BA3 #7A42A3
monochromatic
#484C1F #727730 #9BA342 #B8C063 #CCD18E

Accessibility & contrast

On white

2.72
#9BA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9BA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA342
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA342#FFFFFF#000000##000000
##9BA3421.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#AE9E48
Tritanopia (blue-blind)
#A49A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba342;
/* rgb */ color: rgb(155, 163, 66);
/* oklch */ color: oklch(68.9% 0.121 113.5);
Tailwind
colors: {
  custom: {
    50: '#bbbe7a',
    500: '#9ba342',
    950: '#000000',
  },
}
SCSS
$custom: #9ba342;
$custom-light: #bbbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba342",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 64.948,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68925,
    "c": 0.12119,
    "h": 113.5
  },
  "luminance": 0.33556
}

Semantic roles & 50–950 ramp

primary
#9BA342
secondary
#8984BC
accent
#56D260
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA342

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

Preview Lab → · Contrast checker → · Palette generator →

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