#9BAF36#9BAF36

#9BAF36 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.145 H 118.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#9BAF36
RGBrgb(155, 175, 54)
HSLhsl(70, 53%, 45%)
HSVhsv(70, 69%, 69%)
CMYKcmyk(11.4%, 0%, 69.1%, 31.4%)
CIE-LABlab(67.94, -23.24, 56.81)
CIE-LCHlch(67.94, 61.38, 112.25°)
OKLaboklab(71.57% -0.0688 0.1275)
OKLCHoklch(71.57% 0.145 118.4)
XYZxyz(29.5140, 37.8951, 9.2490)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF36 #4A36AF
analogous
#AF8636 #9BAF36 #5FAF36
triadic
#9BAF36 #369BAF #AF369B
tetradic
#9BAF36 #36AF86 #4A36AF #AF365F
square
#9BAF36 #36AF86 #4A36AF #AF365F
split-complementary
#9BAF36 #365FAF #8636AF
monochromatic
#485119 #728028 #9BAF36 #B8CB57 #CCDA86

Accessibility & contrast

On white

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

On black

8.58
#9BAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF36
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF36#FFFFFF#000000##000000
##9BAF361.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA523
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#A4A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9baf36;
/* rgb */ color: rgb(155, 175, 54);
/* oklch */ color: oklch(71.6% 0.145 118.4);
Tailwind
colors: {
  custom: {
    50: '#bbc674',
    500: '#9baf36',
    950: '#000000',
  },
}
SCSS
$custom: #9baf36;
$custom-light: #bbc674;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf36",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 69.917,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71568,
    "c": 0.14491,
    "h": 118.4
  },
  "luminance": 0.37895
}

Semantic roles & 50–950 ramp

primary
#9BAF36
secondary
#897DC3
accent
#4CDC63
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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