#9BAC25#9BAC25

#9BAC25 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.152 H 116.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9BAC25
RGBrgb(155, 172, 37)
HSLhsl(68, 65%, 41%)
HSVhsv(68, 78%, 67%)
CMYKcmyk(9.9%, 0%, 78.5%, 32.5%)
CIE-LABlab(66.98, -22.61, 61.79)
CIE-LCHlch(66.98, 65.80, 110.10°)
OKLaboklab(70.76% -0.0686 0.1351)
OKLCHoklch(70.76% 0.152 116.9)
XYZxyz(28.6048, 36.6076, 7.3090)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC25 #3625AC
analogous
#AC7925 #9BAC25 #57AC25
triadic
#9BAC25 #259BAC #AC259B
tetradic
#9BAC25 #25AC79 #3625AC #AC2557
square
#9BAC25 #25AC79 #3625AC #AC2557
split-complementary
#9BAC25 #2557AC #7925AC
monochromatic
#40470F #6E7A1A #9BAC25 #C1D53A #D1DF6C

Accessibility & contrast

On white

2.52
#9BAC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9BAC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC25
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC25#FFFFFF#000000##000000
##9BAC251.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac25;
/* rgb */ color: rgb(155, 172, 37);
/* oklch */ color: oklch(70.8% 0.152 116.9);
Tailwind
colors: {
  custom: {
    50: '#bcc46c',
    500: '#9bac25',
    950: '#000000',
  },
}
SCSS
$custom: #9bac25;
$custom-light: #bcc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac25",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 67.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.15152,
    "h": 116.9
  },
  "luminance": 0.36607
}

Semantic roles & 50–950 ramp

primary
#9BAC25
secondary
#7367C6
accent
#40E855
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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