#9BAD1F#9BAD1F

#9BAD1F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.155 H 117.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9BAD1F
RGBrgb(155, 173, 31)
HSLhsl(68, 70%, 40%)
HSVhsv(68, 82%, 68%)
CMYKcmyk(10.4%, 0%, 82.1%, 32.2%)
CIE-LABlab(67.24, -23.33, 63.72)
CIE-LCHlch(67.24, 67.86, 110.11°)
OKLaboklab(70.97% -0.071 0.1382)
OKLCHoklch(70.97% 0.155 117.2)
XYZxyz(28.7092, 36.9550, 6.9167)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAD1F #311FAD
analogous
#AD781F #9BAD1F #54AD1F
triadic
#9BAD1F #1F9BAD #AD1F9B
tetradic
#9BAD1F #1FAD78 #311FAD #AD1F54
square
#9BAD1F #1FAD78 #311FAD #AD1F54
split-complementary
#9BAD1F #1F54AD #781FAD
monochromatic
#3E450C #6C7916 #9BAD1F #C4DA2F #D3E363

Accessibility & contrast

On white

2.50
#9BAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9BAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAD1F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAD1F#FFFFFF#000000##000000
##9BAD1F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A42E
Tritanopia (blue-blind)
#A5A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bad1f;
/* rgb */ color: rgb(155, 173, 31);
/* oklch */ color: oklch(71.0% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc569',
    500: '#9bad1f',
    950: '#000000',
  },
}
SCSS
$custom: #9bad1f;
$custom-light: #bcc569;
$custom-dark: #000000;
JSON
{
  "hex": "#9bad1f",
  "rgb": {
    "r": 155,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 67.606,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.15538,
    "h": 117.2
  },
  "luminance": 0.36955
}

Semantic roles & 50–950 ramp

primary
#9BAD1F
secondary
#6D60C8
accent
#3BEC52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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