#B7BD21#B7BD21

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

Color values

HEX#B7BD21
RGBrgb(183, 189, 33)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 83%, 74%)
CMYKcmyk(3.2%, 0%, 82.5%, 25.9%)
CIE-LABlab(73.92, -19.22, 69.80)
CIE-LCHlch(73.92, 72.40, 105.40°)
OKLaboklab(76.86% -0.0609 0.1505)
OKLCHoklch(76.86% 0.162 112)
XYZxyz(38.0019, 46.5733, 8.4263)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD21 #2721BD
analogous
#BD7521 #B7BD21 #69BD21
triadic
#B7BD21 #21B7BD #BD21B7
tetradic
#B7BD21 #21BD75 #2721BD #BD2169
square
#B7BD21 #21BD75 #2721BD #BD2169
split-complementary
#B7BD21 #2169BD #7521BD
monochromatic
#52550F #858918 #B7BD21 #D7DD3E #E2E672

Accessibility & contrast

On white

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

On black

10.31
#B7BD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD21
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD21#FFFFFF#000000##000000
##B7BD211.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB731
Tritanopia (blue-blind)
#C4B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd21;
/* rgb */ color: rgb(183, 189, 33);
/* oklch */ color: oklch(76.9% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06d',
    500: '#b7bd21',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd21;
$custom-light: #d1d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd21",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 62.308,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76856,
    "c": 0.16236,
    "h": 112
  },
  "luminance": 0.46572
}

Semantic roles & 50–950 ramp

primary
#B7BD21
secondary
#706DCD
accent
#3BED42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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