#9BA81D#9BA81D

#9BA81D is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.151 H 115.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9BA81D
RGBrgb(155, 168, 29)
HSLhsl(66, 71%, 39%)
HSVhsv(66, 83%, 66%)
CMYKcmyk(7.7%, 0%, 82.7%, 34.1%)
CIE-LABlab(65.80, -20.91, 62.99)
CIE-LCHlch(65.80, 66.37, 108.36°)
OKLaboklab(69.8% -0.0645 0.1363)
OKLCHoklch(69.8% 0.151 115.3)
XYZxyz(27.7428, 35.0630, 6.4685)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA81D #2A1DA8
analogous
#A86F1D #9BA81D #55A81D
triadic
#9BA81D #1D9BA8 #A81D9B
tetradic
#9BA81D #1DA86F #2A1DA8 #A81D55
square
#9BA81D #1DA86F #2A1DA8 #A81D55
split-complementary
#9BA81D #1D55A8 #6F1DA8
monochromatic
#3B400B #6B7414 #9BA81D #C9DA28 #D6E35C

Accessibility & contrast

On white

2.62
#9BA81D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9BA81D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA81D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA81D#FFFFFF#000000##000000
##9BA81D1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12C
Tritanopia (blue-blind)
#A69E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba81d;
/* rgb */ color: rgb(155, 168, 29);
/* oklch */ color: oklch(69.8% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc168',
    500: '#9ba81d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba81d;
$custom-light: #bcc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba81d",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 65.612,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.15077,
    "h": 115.3
  },
  "luminance": 0.35063
}

Semantic roles & 50–950 ramp

primary
#9BA81D
secondary
#645AC7
accent
#3AED4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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