#B4BF52#B4BF52

#B4BF52 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.134 H 114.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B4BF52
RGBrgb(180, 191, 82)
HSLhsl(66, 46%, 54%)
HSVhsv(66, 57%, 75%)
CMYKcmyk(5.8%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.56, -18.85, 52.58)
CIE-LCHlch(74.56, 55.86, 109.73°)
OKLaboklab(77.41% -0.0552 0.1219)
OKLCHoklch(77.41% 0.134 114.4)
XYZxyz(38.9770, 47.5747, 15.1106)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF52 #5D52BF
analogous
#BF9352 #B4BF52 #7DBF52
triadic
#B4BF52 #52B4BF #BF52B4
tetradic
#B4BF52 #52BF93 #5D52BF #BF527D
square
#B4BF52 #52BF93 #5D52BF #BF527D
split-complementary
#B4BF52 #527DBF #9352BF
monochromatic
#676E29 #919B39 #B4BF52 #C7D07F #DBE0AB

Accessibility & contrast

On white

2.00
#B4BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B4BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF52
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF52#FFFFFF#000000##000000
##B4BF521.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB646
Deuteranopia (green-blind)
#CBB858
Tritanopia (blue-blind)
#BFB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4bf52;
/* rgb */ color: rgb(180, 191, 82);
/* oklch */ color: oklch(77.4% 0.134 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd286',
    500: '#b4bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf52;
$custom-light: #cdd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf52",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 66.055,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77413,
    "c": 0.13383,
    "h": 114.4
  },
  "luminance": 0.47574
}

Semantic roles & 50–950 ramp

primary
#B4BF52
secondary
#A49FCE
accent
#52D65F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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