#B9BD40#B9BD40

#B9BD40 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.145 H 111.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B9BD40
RGBrgb(185, 189, 64)
HSLhsl(62, 49%, 50%)
HSVhsv(62, 66%, 74%)
CMYKcmyk(2.1%, 0%, 66.1%, 25.9%)
CIE-LABlab(74.24, -17.01, 60.03)
CIE-LCHlch(74.24, 62.39, 105.82°)
OKLaboklab(77.21% -0.0522 0.1351)
OKLCHoklch(77.21% 0.145 111.1)
XYZxyz(39.1318, 47.0806, 11.8756)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BD40 #4440BD
analogous
#BD8340 #B9BD40 #7BBD40
triadic
#B9BD40 #40B9BD #BD40B9
tetradic
#B9BD40 #40BD83 #4440BD #BD407B
square
#B9BD40 #40BD83 #4440BD #BD407B
split-complementary
#B9BD40 #407BBD #8340BD
monochromatic
#5F6221 #8C8F31 #B9BD40 #CACD6D #DBDD9A

Accessibility & contrast

On white

2.02
#B9BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#B9BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BD40
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BD40#FFFFFF#000000##000000
##B9BD401.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#C5B2A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b9bd40;
/* rgb */ color: rgb(185, 189, 64);
/* oklch */ color: oklch(77.2% 0.145 111.1);
Tailwind
colors: {
  custom: {
    50: '#d1d07c',
    500: '#b9bd40',
    950: '#000000',
  },
}
SCSS
$custom: #b9bd40;
$custom-light: #d1d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bd40",
  "rgb": {
    "r": 185,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 61.92,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77209,
    "c": 0.14482,
    "h": 111.1
  },
  "luminance": 0.4708
}

Semantic roles & 50–950 ramp

primary
#B9BD40
secondary
#9290C9
accent
#4FD953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9BD40

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

Preview Lab → · Contrast checker → · Palette generator →

#B9BD40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva