#B5BD21#B5BD21

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

Color values

HEX#B5BD21
RGBrgb(181, 189, 33)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 83%, 74%)
CMYKcmyk(4.2%, 0%, 82.5%, 25.9%)
CIE-LABlab(73.76, -20.08, 69.60)
CIE-LCHlch(73.76, 72.44, 106.09°)
OKLaboklab(76.69% -0.0632 0.1502)
OKLCHoklch(76.69% 0.163 112.8)
XYZxyz(37.5295, 46.3297, 8.4041)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD21 #2921BD
analogous
#BD7721 #B5BD21 #67BD21
triadic
#B5BD21 #21B5BD #BD21B5
tetradic
#B5BD21 #21BD77 #2921BD #BD2167
square
#B5BD21 #21BD77 #2921BD #BD2167
split-complementary
#B5BD21 #2167BD #7721BD
monochromatic
#51550F #838918 #B5BD21 #D5DD3E #E0E672

Accessibility & contrast

On white

2.05
#B5BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BD21#FFFFFF#000000##000000
##B5BD211.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bd21;
/* rgb */ color: rgb(181, 189, 33);
/* oklch */ color: oklch(76.7% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfd06d',
    500: '#b5bd21',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd21;
$custom-light: #cfd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd21",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 63.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76692,
    "c": 0.16291,
    "h": 112.8
  },
  "luminance": 0.46329
}

Semantic roles & 50–950 ramp

primary
#B5BD21
secondary
#726DCD
accent
#3BED44
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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