#B5BD28#B5BD28

#B5BD28 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.160 H 112.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B5BD28
RGBrgb(181, 189, 40)
HSLhsl(63, 65%, 45%)
HSVhsv(63, 79%, 74%)
CMYKcmyk(4.2%, 0%, 78.8%, 25.9%)
CIE-LABlab(73.79, -19.84, 67.76)
CIE-LCHlch(73.79, 70.61, 106.32°)
OKLaboklab(76.72% -0.062 0.1474)
OKLCHoklch(76.72% 0.16 112.8)
XYZxyz(37.6379, 46.3730, 8.9753)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD28 #3028BD
analogous
#BD7A28 #B5BD28 #6BBD28
triadic
#B5BD28 #28B5BD #BD28B5
tetradic
#B5BD28 #28BD7A #3028BD #BD286B
square
#B5BD28 #28BD7A #3028BD #BD286B
split-complementary
#B5BD28 #286BBD #7A28BD
monochromatic
#545813 #858A1D #B5BD28 #D1D94A #DEE37C

Accessibility & contrast

On white

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

On black

10.27
#B5BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BD28
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BD28#FFFFFF#000000##000000
##B5BD281.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#C2B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bd28;
/* rgb */ color: rgb(181, 189, 40);
/* oklch */ color: oklch(76.7% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfd070',
    500: '#b5bd28',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd28;
$custom-light: #cfd070;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd28",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 63.221,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.15996,
    "h": 112.8
  },
  "luminance": 0.46372
}

Semantic roles & 50–950 ramp

primary
#B5BD28
secondary
#7A75CB
accent
#40E849
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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