#B7BD31#B7BD31

#B7BD31 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.155 H 112.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B7BD31
RGBrgb(183, 189, 49)
HSLhsl(63, 59%, 47%)
HSVhsv(63, 74%, 74%)
CMYKcmyk(3.2%, 0%, 74.1%, 25.9%)
CIE-LABlab(73.99, -18.63, 65.22)
CIE-LCHlch(73.99, 67.83, 105.94°)
OKLaboklab(76.94% -0.058 0.1435)
OKLCHoklch(76.94% 0.155 112)
XYZxyz(38.2817, 46.6852, 9.8997)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD31 #3731BD
analogous
#BD7D31 #B7BD31 #71BD31
triadic
#B7BD31 #31B7BD #BD31B7
tetradic
#B7BD31 #31BD7D #3731BD #BD3171
square
#B7BD31 #31BD7D #3731BD #BD3171
split-complementary
#B7BD31 #3171BD #7D31BD
monochromatic
#595C18 #888C24 #B7BD31 #CED458 #DCE088

Accessibility & contrast

On white

2.03
#B7BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#B7BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD31
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD31#FFFFFF#000000##000000
##B7BD311.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bd31;
/* rgb */ color: rgb(183, 189, 49);
/* oklch */ color: oklch(76.9% 0.155 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d074',
    500: '#b7bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd31;
$custom-light: #d0d074;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd31",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 62.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76937,
    "c": 0.15483,
    "h": 112
  },
  "luminance": 0.46684
}

Semantic roles & 50–950 ramp

primary
#B7BD31
secondary
#8380CA
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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