#B5BF52#B5BF52

#B5BF52 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.134 H 113.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B5BF52
RGBrgb(181, 191, 82)
HSLhsl(66, 46%, 54%)
HSVhsv(66, 57%, 75%)
CMYKcmyk(5.2%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.63, -18.44, 52.69)
CIE-LCHlch(74.63, 55.83, 109.29°)
OKLaboklab(77.49% -0.0541 0.1221)
OKLCHoklch(77.49% 0.134 113.9)
XYZxyz(39.2107, 47.6952, 15.1215)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF52 #5C52BF
analogous
#BF9252 #B5BF52 #7EBF52
triadic
#B5BF52 #52B5BF #BF52B5
tetradic
#B5BF52 #52BF92 #5C52BF #BF527E
square
#B5BF52 #52BF92 #5C52BF #BF527E
split-complementary
#B5BF52 #527EBF #9252BF
monochromatic
#686E29 #929B39 #B5BF52 #C8D07F #DBE0AB

Accessibility & contrast

On white

1.99
#B5BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B5BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF52
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF52#FFFFFF#000000##000000
##B5BF521.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CBB958
Tritanopia (blue-blind)
#C0B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5bf52;
/* rgb */ color: rgb(181, 191, 82);
/* oklch */ color: oklch(77.5% 0.134 113.9);
Tailwind
colors: {
  custom: {
    50: '#cdd286',
    500: '#b5bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf52;
$custom-light: #cdd286;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf52",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 65.505,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77493,
    "c": 0.13357,
    "h": 113.9
  },
  "luminance": 0.47695
}

Semantic roles & 50–950 ramp

primary
#B5BF52
secondary
#A39FCE
accent
#52D65E
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B5BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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