#9BA920#9BA920

#9BA920 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.151 H 115.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9BA920
RGBrgb(155, 169, 32)
HSLhsl(66, 68%, 39%)
HSVhsv(66, 81%, 66%)
CMYKcmyk(8.3%, 0%, 81.1%, 33.7%)
CIE-LABlab(66.10, -21.30, 62.45)
CIE-LCHlch(66.10, 65.98, 108.84°)
OKLaboklab(70.05% -0.0654 0.1357)
OKLCHoklch(70.05% 0.151 115.7)
XYZxyz(27.9671, 35.4492, 6.7353)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA920 #2E20A9
analogous
#A97220 #9BA920 #57A920
triadic
#9BA920 #209BA9 #A9209B
tetradic
#9BA920 #20A972 #2E20A9 #A92057
square
#9BA920 #20A972 #2E20A9 #A92057
split-complementary
#9BA920 #2057A9 #7220A9
monochromatic
#3D420D #6C7616 #9BA920 #C6D82F #D4E162

Accessibility & contrast

On white

2.60
#9BA920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9BA920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA920
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA920#FFFFFF#000000##000000
##9BA9201.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A22E
Tritanopia (blue-blind)
#A59F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba920;
/* rgb */ color: rgb(155, 169, 32);
/* oklch */ color: oklch(70.0% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc269',
    500: '#9ba920',
    950: '#000000',
  },
}
SCSS
$custom: #9ba920;
$custom-light: #bcc269;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba920",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 66.131,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.15058,
    "h": 115.7
  },
  "luminance": 0.35449
}

Semantic roles & 50–950 ramp

primary
#9BA920
secondary
#695FC6
accent
#3DEB4F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA920

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

Preview Lab → · Contrast checker → · Palette generator →

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