#9BAE2B#9BAE2B

#9BAE2B is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.3% C 0.151 H 117.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#9BAE2B
RGBrgb(155, 174, 43)
HSLhsl(69, 60%, 43%)
HSVhsv(69, 75%, 68%)
CMYKcmyk(10.9%, 0%, 75.3%, 31.8%)
CIE-LABlab(67.59, -23.33, 60.44)
CIE-LCHlch(67.59, 64.79, 111.11°)
OKLaboklab(71.26% -0.0701 0.1333)
OKLCHoklch(71.26% 0.151 117.7)
XYZxyz(29.0904, 37.4154, 7.9744)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAE2B #3E2BAE
analogous
#AE7F2B #9BAE2B #5AAE2B
triadic
#9BAE2B #2B9BAE #AE2B9B
tetradic
#9BAE2B #2BAE7F #3E2BAE #AE2B5A
square
#9BAE2B #2BAE7F #3E2BAE #AE2B5A
split-complementary
#9BAE2B #2B5AAE #7F2BAE
monochromatic
#444C13 #6F7D1F #9BAE2B #BDD145 #CEDD76

Accessibility & contrast

On white

2.48
#9BAE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#9BAE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAE2B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAE2B#FFFFFF#000000##000000
##9BAE2B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40C
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#A5A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9bae2b;
/* rgb */ color: rgb(155, 174, 43);
/* oklch */ color: oklch(71.3% 0.151 117.7);
Tailwind
colors: {
  custom: {
    50: '#bcc66f',
    500: '#9bae2b',
    950: '#000000',
  },
}
SCSS
$custom: #9bae2b;
$custom-light: #bcc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bae2b",
  "rgb": {
    "r": 155,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 68.702,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.15061,
    "h": 117.7
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#9BAE2B
secondary
#7C70C5
accent
#44E45B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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