#9BAA24#9BAA24

#9BAA24 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.150 H 116.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9BAA24
RGBrgb(155, 170, 36)
HSLhsl(67, 65%, 40%)
HSVhsv(67, 79%, 67%)
CMYKcmyk(8.8%, 0%, 78.8%, 33.3%)
CIE-LABlab(66.40, -21.65, 61.57)
CIE-LCHlch(66.40, 65.26, 109.38°)
OKLaboklab(70.3% -0.066 0.1345)
OKLCHoklch(70.3% 0.15 116.1)
XYZxyz(28.2115, 35.8458, 7.1015)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA24 #3324AA
analogous
#AA7624 #9BAA24 #58AA24
triadic
#9BAA24 #249BAA #AA249B
tetradic
#9BAA24 #24AA76 #3324AA #AA2458
square
#9BAA24 #24AA76 #3324AA #AA2458
split-complementary
#9BAA24 #2458AA #7624AA
monochromatic
#3F450F #6D7719 #9BAA24 #C3D537 #D2DF69

Accessibility & contrast

On white

2.57
#9BAA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9BAA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA24
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA24#FFFFFF#000000##000000
##9BAA241.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa24;
/* rgb */ color: rgb(155, 170, 36);
/* oklch */ color: oklch(70.3% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc36b',
    500: '#9baa24',
    950: '#000000',
  },
}
SCSS
$custom: #9baa24;
$custom-light: #bcc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa24",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 66.716,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.1498,
    "h": 116.1
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#9BAA24
secondary
#6F65C5
accent
#40E853
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA24

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

Preview Lab → · Contrast checker → · Palette generator →

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