#9BAF24#9BAF24

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

Color values

HEX#9BAF24
RGBrgb(155, 175, 36)
HSLhsl(69, 66%, 41%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(11.4%, 0%, 79.4%, 31.4%)
CIE-LABlab(67.84, -24.13, 62.86)
CIE-LCHlch(67.84, 67.33, 111.00°)
OKLaboklab(71.45% -0.0728 0.1372)
OKLCHoklch(71.45% 0.155 118)
XYZxyz(29.1667, 37.7562, 7.4199)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF24 #3824AF
analogous
#AF7E24 #9BAF24 #56AF24
triadic
#9BAF24 #249BAF #AF249B
tetradic
#9BAF24 #24AF7E #3824AF #AF2456
square
#9BAF24 #24AF7E #3824AF #AF2456
split-complementary
#9BAF24 #2456AF #7E24AF
monochromatic
#41490F #6E7C1A #9BAF24 #C0D63A #D0E16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAF24#FFFFFF#000000##000000
##9BAF241.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)
#B9A632
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf24;
/* rgb */ color: rgb(155, 175, 36);
/* oklch */ color: oklch(71.5% 0.155 118.0);
Tailwind
colors: {
  custom: {
    50: '#bcc66c',
    500: '#9baf24',
    950: '#000000',
  },
}
SCSS
$custom: #9baf24;
$custom-light: #bcc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf24",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 68.633,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71453,
    "c": 0.15536,
    "h": 118
  },
  "luminance": 0.37756
}

Semantic roles & 50–950 ramp

primary
#9BAF24
secondary
#7568C7
accent
#3FE957
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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