#B5BD42#B5BD42

#B5BD42 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.144 H 112.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#B5BD42
RGBrgb(181, 189, 66)
HSLhsl(64, 48%, 50%)
HSVhsv(64, 65%, 74%)
CMYKcmyk(4.2%, 0%, 65.1%, 25.9%)
CIE-LABlab(73.94, -18.57, 58.82)
CIE-LCHlch(73.94, 61.68, 107.52°)
OKLaboklab(76.9% -0.0561 0.1329)
OKLCHoklch(76.9% 0.144 112.9)
XYZxyz(38.2381, 46.6131, 12.1361)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD42 #4A42BD
analogous
#BD8742 #B5BD42 #78BD42
triadic
#B5BD42 #42B5BD #BD42B5
tetradic
#B5BD42 #42BD87 #4A42BD #BD4278
square
#B5BD42 #42BD87 #4A42BD #BD4278
split-complementary
#B5BD42 #4278BD #8742BD
monochromatic
#5E6222 #8A9032 #B5BD42 #C7CD6F #D9DD9D

Accessibility & contrast

On white

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

On black

10.32
#B5BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BD42
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BD42#FFFFFF#000000##000000
##B5BD421.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB431
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#C1B2A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5bd42;
/* rgb */ color: rgb(181, 189, 66);
/* oklch */ color: oklch(76.9% 0.144 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced07d',
    500: '#b5bd42',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd42;
$custom-light: #ced07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd42",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 63.902,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.76896,
    "c": 0.14431,
    "h": 112.9
  },
  "luminance": 0.46612
}

Semantic roles & 50–950 ramp

primary
#B5BD42
secondary
#9592C9
accent
#50D859
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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