#B9BD31#B9BD31

#B9BD31 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.154 H 111.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#B9BD31
RGBrgb(185, 189, 49)
HSLhsl(62, 59%, 47%)
HSVhsv(62, 74%, 74%)
CMYKcmyk(2.1%, 0%, 74.1%, 25.9%)
CIE-LABlab(74.15, -17.78, 65.42)
CIE-LCHlch(74.15, 67.80, 105.20°)
OKLaboklab(77.1% -0.0558 0.1439)
OKLCHoklch(77.1% 0.154 111.2)
XYZxyz(38.7609, 46.9323, 9.9222)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BD31 #3531BD
analogous
#BD7B31 #B9BD31 #73BD31
triadic
#B9BD31 #31B9BD #BD31B9
tetradic
#B9BD31 #31BD7B #3531BD #BD3173
square
#B9BD31 #31BD7B #3531BD #BD3173
split-complementary
#B9BD31 #3173BD #7B31BD
monochromatic
#5A5C18 #898C24 #B9BD31 #D0D458 #DEE088

Accessibility & contrast

On white

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

On black

10.39
#B9BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BD31
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BD31#FFFFFF#000000##000000
##B9BD311.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C6B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bd31;
/* rgb */ color: rgb(185, 189, 49);
/* oklch */ color: oklch(77.1% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#d2d074',
    500: '#b9bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b9bd31;
$custom-light: #d2d074;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bd31",
  "rgb": {
    "r": 185,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 61.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77103,
    "c": 0.15435,
    "h": 111.2
  },
  "luminance": 0.46931
}

Semantic roles & 50–950 ramp

primary
#B9BD31
secondary
#8280CA
accent
#46E24A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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