#9BAD1C#9BAD1C

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

Color values

HEX#9BAD1C
RGBrgb(155, 173, 28)
HSLhsl(67, 72%, 39%)
HSVhsv(67, 84%, 68%)
CMYKcmyk(10.4%, 0%, 83.8%, 32.2%)
CIE-LABlab(67.23, -23.43, 64.47)
CIE-LCHlch(67.23, 68.60, 109.97°)
OKLaboklab(70.95% -0.0715 0.1393)
OKLCHoklch(70.95% 0.157 117.2)
XYZxyz(28.6715, 36.9399, 6.7181)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAD1C #2E1CAD
analogous
#AD761C #9BAD1C #53AD1C
triadic
#9BAD1C #1C9BAD #AD1C9B
tetradic
#9BAD1C #1CAD76 #2E1CAD #AD1C53
square
#9BAD1C #1CAD76 #2E1CAD #AD1C53
split-complementary
#9BAD1C #1C53AD #761CAD
monochromatic
#3D440B #6C7813 #9BAD1C #C6DC2A #D4E55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAD1C#FFFFFF#000000##000000
##9BAD1C1.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)
#B8A42C
Tritanopia (blue-blind)
#A5A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bad1c;
/* rgb */ color: rgb(155, 173, 28);
/* oklch */ color: oklch(71.0% 0.157 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc568',
    500: '#9bad1c',
    950: '#000000',
  },
}
SCSS
$custom: #9bad1c;
$custom-light: #bcc568;
$custom-dark: #000000;
JSON
{
  "hex": "#9bad1c",
  "rgb": {
    "r": 155,
    "g": 173,
    "b": 28
  },
  "hsl": {
    "h": 67.448,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.15658,
    "h": 117.2
  },
  "luminance": 0.3694
}

Semantic roles & 50–950 ramp

primary
#9BAD1C
secondary
#695CC9
accent
#39EF50
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAD1C

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

Preview Lab → · Contrast checker → · Palette generator →

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