#B1BD21#B1BD21

#B1BD21 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.4% C 0.164 H 114.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B1BD21
RGBrgb(177, 189, 33)
HSLhsl(65, 70%, 44%)
HSVhsv(65, 83%, 74%)
CMYKcmyk(6.3%, 0%, 82.5%, 25.9%)
CIE-LABlab(73.45, -21.78, 69.22)
CIE-LCHlch(73.45, 72.56, 107.47°)
OKLaboklab(76.37% -0.0677 0.1495)
OKLCHoklch(76.37% 0.164 114.4)
XYZxyz(36.6047, 45.8528, 8.3608)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BD21 #2D21BD
analogous
#BD7B21 #B1BD21 #63BD21
triadic
#B1BD21 #21B1BD #BD21B1
tetradic
#B1BD21 #21BD7B #2D21BD #BD2163
square
#B1BD21 #21BD7B #2D21BD #BD2163
split-complementary
#B1BD21 #2163BD #7B21BD
monochromatic
#4F550F #808918 #B1BD21 #D1DD3E #DDE672

Accessibility & contrast

On white

2.06
#B1BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B1BD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BD21
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BD21#FFFFFF#000000##000000
##B1BD211.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#BDB1A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b1bd21;
/* rgb */ color: rgb(177, 189, 33);
/* oklch */ color: oklch(76.4% 0.164 114.4);
Tailwind
colors: {
  custom: {
    50: '#ccd06d',
    500: '#b1bd21',
    950: '#000000',
  },
}
SCSS
$custom: #b1bd21;
$custom-light: #ccd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bd21",
  "rgb": {
    "r": 177,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 64.615,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76368,
    "c": 0.16411,
    "h": 114.4
  },
  "luminance": 0.45852
}

Semantic roles & 50–950 ramp

primary
#B1BD21
secondary
#746DCD
accent
#3BED48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B1BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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