#B9BD21#B9BD21

#B9BD21 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.162 H 111.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B9BD21
RGBrgb(185, 189, 33)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 83%, 74%)
CMYKcmyk(2.1%, 0%, 82.5%, 25.9%)
CIE-LABlab(74.07, -18.36, 70.00)
CIE-LCHlch(74.07, 72.37, 104.70°)
OKLaboklab(77.02% -0.0586 0.1508)
OKLCHoklch(77.02% 0.162 111.2)
XYZxyz(38.4811, 46.8204, 8.4487)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BD21 #2521BD
analogous
#BD7321 #B9BD21 #6BBD21
triadic
#B9BD21 #21B9BD #BD21B9
tetradic
#B9BD21 #21BD73 #2521BD #BD216B
square
#B9BD21 #21BD73 #2521BD #BD216B
split-complementary
#B9BD21 #216BBD #7321BD
monochromatic
#53550F #868918 #B9BD21 #D9DD3E #E3E672

Accessibility & contrast

On white

2.03
#B9BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B9BD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BD21
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BD21#FFFFFF#000000##000000
##B9BD211.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bd21;
/* rgb */ color: rgb(185, 189, 33);
/* oklch */ color: oklch(77.0% 0.162 111.2);
Tailwind
colors: {
  custom: {
    50: '#d2d06d',
    500: '#b9bd21',
    950: '#000000',
  },
}
SCSS
$custom: #b9bd21;
$custom-light: #d2d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bd21",
  "rgb": {
    "r": 185,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 61.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77022,
    "c": 0.16184,
    "h": 111.2
  },
  "luminance": 0.46819
}

Semantic roles & 50–950 ramp

primary
#B9BD21
secondary
#6F6DCD
accent
#3BED3F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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