#B8BE51#B8BE51

#B8BE51 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.5% C 0.133 H 112.0°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B8BE51
RGBrgb(184, 190, 81)
HSLhsl(63, 46%, 53%)
HSVhsv(63, 57%, 75%)
CMYKcmyk(3.2%, 0%, 57.4%, 25.5%)
CIE-LABlab(74.58, -16.78, 53.15)
CIE-LCHlch(74.58, 55.73, 107.52°)
OKLaboklab(77.51% -0.0497 0.1229)
OKLCHoklch(77.51% 0.133 112)
XYZxyz(39.6668, 47.6122, 14.8835)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE51 #5751BE
analogous
#BE8D51 #B8BE51 #81BE51
triadic
#B8BE51 #51B8BE #BE51B8
tetradic
#B8BE51 #51BE8D #5751BE #BE5181
square
#B8BE51 #51BE8D #5751BE #BE5181
split-complementary
#B8BE51 #5181BE #8D51BE
monochromatic
#686C28 #939939 #B8BE51 #CACF7E #DCDFAA

Accessibility & contrast

On white

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

On black

10.52
#B8BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE51
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE51#FFFFFF#000000##000000
##B8BE511.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#CBB957
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be51;
/* rgb */ color: rgb(184, 190, 81);
/* oklch */ color: oklch(77.5% 0.133 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d186',
    500: '#b8be51',
    950: '#000000',
  },
}
SCSS
$custom: #b8be51;
$custom-light: #d0d186;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be51",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 63.303,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.13257,
    "h": 112
  },
  "luminance": 0.47611
}

Semantic roles & 50–950 ramp

primary
#B8BE51
secondary
#A09ECD
accent
#53D55A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B8BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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