#B5BD40#B5BD40

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

Color values

HEX#B5BD40
RGBrgb(181, 189, 64)
HSLhsl(64, 49%, 50%)
HSVhsv(64, 66%, 74%)
CMYKcmyk(4.2%, 0%, 66.1%, 25.9%)
CIE-LABlab(73.93, -18.69, 59.61)
CIE-LCHlch(73.93, 62.47, 107.41°)
OKLaboklab(76.88% -0.0567 0.1343)
OKLCHoklch(76.88% 0.146 112.9)
XYZxyz(38.1801, 46.5899, 11.8310)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD40 #4840BD
analogous
#BD8740 #B5BD40 #77BD40
triadic
#B5BD40 #40B5BD #BD40B5
tetradic
#B5BD40 #40BD87 #4840BD #BD4077
square
#B5BD40 #40BD87 #4840BD #BD4077
split-complementary
#B5BD40 #4077BD #8740BD
monochromatic
#5D6221 #898F31 #B5BD40 #C7CD6D #D9DD9A

Accessibility & contrast

On white

2.04
#B5BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BD40#FFFFFF#000000##000000
##B5BD401.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bd40;
/* rgb */ color: rgb(181, 189, 64);
/* oklch */ color: oklch(76.9% 0.146 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced07c',
    500: '#b5bd40',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd40;
$custom-light: #ced07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd40",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 63.84,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7688,
    "c": 0.14577,
    "h": 112.9
  },
  "luminance": 0.46589
}

Semantic roles & 50–950 ramp

primary
#B5BD40
secondary
#9390C9
accent
#4FD958
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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