#9BA340#9BA340

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

Color values

HEX#9BA340
RGBrgb(155, 163, 64)
HSLhsl(65, 44%, 45%)
HSVhsv(65, 61%, 64%)
CMYKcmyk(4.9%, 0%, 60.7%, 36.1%)
CIE-LABlab(64.59, -16.51, 49.10)
CIE-LCHlch(64.59, 51.80, 108.58°)
OKLaboklab(68.91% -0.049 0.1127)
OKLCHoklch(68.91% 0.123 113.5)
XYZxyz(27.5408, 33.5336, 9.8713)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA340 #4840A3
analogous
#A37940 #9BA340 #6AA340
triadic
#9BA340 #409BA3 #A3409B
tetradic
#9BA340 #40A379 #4840A3 #A3406A
square
#9BA340 #40A379 #4840A3 #A3406A
split-complementary
#9BA340 #406AA3 #7940A3
monochromatic
#474B1D #71772F #9BA340 #B9C060 #CCD28C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA340#FFFFFF#000000##000000
##9BA3401.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)
#AE9C35
Deuteranopia (green-blind)
#AE9E46
Tritanopia (blue-blind)
#A59A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba340;
/* rgb */ color: rgb(155, 163, 64);
/* oklch */ color: oklch(68.9% 0.123 113.5);
Tailwind
colors: {
  custom: {
    50: '#bbbe79',
    500: '#9ba340',
    950: '#000000',
  },
}
SCSS
$custom: #9ba340;
$custom-light: #bbbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba340",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 64.848,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.12292,
    "h": 113.5
  },
  "luminance": 0.33533
}

Semantic roles & 50–950 ramp

primary
#9BA340
secondary
#8782BD
accent
#54D35F
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA340

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

Preview Lab → · Contrast checker → · Palette generator →

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