#B4BD2B#B4BD2B

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

Color values

HEX#B4BD2B
RGBrgb(180, 189, 43)
HSLhsl(64, 63%, 45%)
HSVhsv(64, 77%, 74%)
CMYKcmyk(4.8%, 0%, 77.2%, 25.9%)
CIE-LABlab(73.72, -20.16, 66.79)
CIE-LCHlch(73.72, 69.77, 106.79°)
OKLaboklab(76.66% -0.0626 0.1459)
OKLCHoklch(76.66% 0.159 113.2)
XYZxyz(37.4572, 46.2737, 9.2436)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD2B #342BBD
analogous
#BD7D2B #B4BD2B #6BBD2B
triadic
#B4BD2B #2BB4BD #BD2BB4
tetradic
#B4BD2B #2BBD7D #342BBD #BD2B6B
square
#B4BD2B #2BBD7D #342BBD #BD2B6B
split-complementary
#B4BD2B #2B6BBD #7D2BBD
monochromatic
#555914 #858B20 #B4BD2B #CED74E #DCE280

Accessibility & contrast

On white

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

On black

10.25
#B4BD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD2B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD2B#FFFFFF#000000##000000
##B4BD2B1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB400
Deuteranopia (green-blind)
#CBB738
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd2b;
/* rgb */ color: rgb(180, 189, 43);
/* oklch */ color: oklch(76.7% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#ced071',
    500: '#b4bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd2b;
$custom-light: #ced071;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd2b",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 63.699,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.1588,
    "h": 113.2
  },
  "luminance": 0.46273
}

Semantic roles & 50–950 ramp

primary
#B4BD2B
secondary
#7E79CB
accent
#42E64C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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