#9BAE27#9BAE27

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

Color values

HEX#9BAE27
RGBrgb(155, 174, 39)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 78%, 68%)
CMYKcmyk(10.9%, 0%, 77.6%, 31.8%)
CIE-LABlab(67.57, -23.52, 61.71)
CIE-LCHlch(67.57, 66.04, 110.86°)
OKLaboklab(71.24% -0.0709 0.1353)
OKLCHoklch(71.24% 0.153 117.7)
XYZxyz(29.0205, 37.3875, 7.6068)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAE27 #3A27AE
analogous
#AE7D27 #9BAE27 #58AE27
triadic
#9BAE27 #279BAE #AE279B
tetradic
#9BAE27 #27AE7D #3A27AE #AE2758
square
#9BAE27 #27AE7D #3A27AE #AE2758
split-complementary
#9BAE27 #2758AE #7D27AE
monochromatic
#424A11 #6E7C1C #9BAE27 #BFD43E #CFDF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAE27#FFFFFF#000000##000000
##9BAE271.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)
#BAA400
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#A5A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9bae27;
/* rgb */ color: rgb(155, 174, 39);
/* oklch */ color: oklch(71.2% 0.153 117.7);
Tailwind
colors: {
  custom: {
    50: '#bcc66d',
    500: '#9bae27',
    950: '#000000',
  },
}
SCSS
$custom: #9bae27;
$custom-light: #bcc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bae27",
  "rgb": {
    "r": 155,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 68.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71237,
    "c": 0.15276,
    "h": 117.7
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#9BAE27
secondary
#786BC6
accent
#41E659
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAE27

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

Preview Lab → · Contrast checker → · Palette generator →

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