#9BAF33#9BAF33

#9BAF33 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.5% C 0.147 H 118.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9BAF33
RGBrgb(155, 175, 51)
HSLhsl(70, 55%, 44%)
HSVhsv(70, 71%, 69%)
CMYKcmyk(11.4%, 0%, 70.9%, 31.4%)
CIE-LABlab(67.92, -23.41, 57.93)
CIE-LCHlch(67.92, 62.49, 112.01°)
OKLaboklab(71.55% -0.0696 0.1294)
OKLCHoklch(71.55% 0.147 118.3)
XYZxyz(29.4457, 37.8678, 8.8893)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF33 #4733AF
analogous
#AF8533 #9BAF33 #5DAF33
triadic
#9BAF33 #339BAF #AF339B
tetradic
#9BAF33 #33AF85 #4733AF #AF335D
square
#9BAF33 #33AF85 #4733AF #AF335D
split-complementary
#9BAF33 #335DAF #8533AF
monochromatic
#475017 #718025 #9BAF33 #B9CD52 #CCDB82

Accessibility & contrast

On white

2.45
#9BAF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#9BAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF33
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF33#FFFFFF#000000##000000
##9BAF331.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51E
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#A4A597
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf33;
/* rgb */ color: rgb(155, 175, 51);
/* oklch */ color: oklch(71.5% 0.147 118.3);
Tailwind
colors: {
  custom: {
    50: '#bcc673',
    500: '#9baf33',
    950: '#000000',
  },
}
SCSS
$custom: #9baf33;
$custom-light: #bcc673;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf33",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 69.677,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71546,
    "c": 0.14692,
    "h": 118.3
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#9BAF33
secondary
#867AC4
accent
#4ADE62
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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