#9BAF26#9BAF26

#9BAF26 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.154 H 118.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9BAF26
RGBrgb(155, 175, 38)
HSLhsl(69, 64%, 42%)
HSVhsv(69, 78%, 69%)
CMYKcmyk(11.4%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.85, -24.05, 62.27)
CIE-LCHlch(67.85, 66.76, 111.12°)
OKLaboklab(71.46% -0.0725 0.1363)
OKLCHoklch(71.46% 0.154 118)
XYZxyz(29.1981, 37.7687, 7.5853)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF26 #3A26AF
analogous
#AF7F26 #9BAF26 #57AF26
triadic
#9BAF26 #269BAF #AF269B
tetradic
#9BAF26 #26AF7F #3A26AF #AF2657
square
#9BAF26 #26AF7F #3A26AF #AF2657
split-complementary
#9BAF26 #2657AF #7F26AF
monochromatic
#424A10 #6E7D1B #9BAF26 #BFD53D #CFE070

Accessibility & contrast

On white

2.46
#9BAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9BAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF26
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF26#FFFFFF#000000##000000
##9BAF261.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf26;
/* rgb */ color: rgb(155, 175, 38);
/* oklch */ color: oklch(71.5% 0.154 118.0);
Tailwind
colors: {
  custom: {
    50: '#bcc66d',
    500: '#9baf26',
    950: '#000000',
  },
}
SCSS
$custom: #9baf26;
$custom-light: #bcc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf26",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 68.759,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71463,
    "c": 0.15439,
    "h": 118
  },
  "luminance": 0.37768
}

Semantic roles & 50–950 ramp

primary
#9BAF26
secondary
#786AC7
accent
#40E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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