#9BA61D#9BA61D

#9BA61D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.149 H 114.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9BA61D
RGBrgb(155, 166, 29)
HSLhsl(65, 70%, 38%)
HSVhsv(65, 83%, 65%)
CMYKcmyk(6.6%, 0%, 82.5%, 34.9%)
CIE-LABlab(65.22, -19.90, 62.50)
CIE-LCHlch(65.22, 65.59, 107.66°)
OKLaboklab(69.34% -0.0617 0.1352)
OKLCHoklch(69.34% 0.149 114.5)
XYZxyz(27.3764, 34.3302, 6.3464)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA61D #281DA6
analogous
#A66D1D #9BA61D #56A61D
triadic
#9BA61D #1D9BA6 #A61D9B
tetradic
#9BA61D #1DA66D #281DA6 #A61D56
square
#9BA61D #1DA66D #281DA6 #A61D56
split-complementary
#9BA61D #1D56A6 #6D1DA6
monochromatic
#3A3E0B #6A7214 #9BA61D #CBD927 #D7E25B

Accessibility & contrast

On white

2.67
#9BA61D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9BA61D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA61D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA61D#FFFFFF#000000##000000
##9BA61D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba61d;
/* rgb */ color: rgb(155, 166, 29);
/* oklch */ color: oklch(69.3% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bcc068',
    500: '#9ba61d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba61d;
$custom-light: #bcc068;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba61d",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 29
  },
  "hsl": {
    "h": 64.818,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69341,
    "c": 0.14864,
    "h": 114.5
  },
  "luminance": 0.3433
}

Semantic roles & 50–950 ramp

primary
#9BA61D
secondary
#6159C6
accent
#3BED49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA61D

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

Preview Lab → · Contrast checker → · Palette generator →

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