#B4BD52#B4BD52

#B4BD52 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.131 H 113.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B4BD52
RGBrgb(180, 189, 82)
HSLhsl(65, 45%, 53%)
HSVhsv(65, 57%, 74%)
CMYKcmyk(4.8%, 0%, 56.6%, 25.9%)
CIE-LABlab(74.00, -17.85, 51.96)
CIE-LCHlch(74.00, 54.94, 108.96°)
OKLaboklab(76.97% -0.0524 0.1206)
OKLCHoklch(76.97% 0.131 113.5)
XYZxyz(38.5438, 46.7084, 14.9662)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD52 #5B52BD
analogous
#BD9052 #B4BD52 #7EBD52
triadic
#B4BD52 #52B4BD #BD52B4
tetradic
#B4BD52 #52BD90 #5B52BD #BD527E
square
#B4BD52 #52BD90 #5B52BD #BD527E
split-complementary
#B4BD52 #527EBD #9052BD
monochromatic
#666C29 #90983A #B4BD52 #C7CE7E #DADFAB

Accessibility & contrast

On white

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

On black

10.34
#B4BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD52
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD52#FFFFFF#000000##000000
##B4BD521.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#BFB3A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4bd52;
/* rgb */ color: rgb(180, 189, 82);
/* oklch */ color: oklch(77.0% 0.131 113.5);
Tailwind
colors: {
  custom: {
    50: '#cdd086',
    500: '#b4bd52',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd52;
$custom-light: #cdd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd52",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 65.047,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76971,
    "c": 0.13146,
    "h": 113.5
  },
  "luminance": 0.46708
}

Semantic roles & 50–950 ramp

primary
#B4BD52
secondary
#A29ECC
accent
#53D45E
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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