#B8BE21#B8BE21

#B8BE21 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.163 H 112.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B8BE21
RGBrgb(184, 190, 33)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 83%, 75%)
CMYKcmyk(3.2%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.27, -19.29, 70.13)
CIE-LCHlch(74.27, 72.74, 105.38°)
OKLaboklab(77.16% -0.0612 0.1512)
OKLCHoklch(77.16% 0.163 112)
XYZxyz(38.4565, 47.1281, 8.5094)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE21 #2721BE
analogous
#BE7521 #B8BE21 #69BE21
triadic
#B8BE21 #21B8BE #BE21B8
tetradic
#B8BE21 #21BE75 #2721BE #BE2169
square
#B8BE21 #21BE75 #2721BE #BE2169
split-complementary
#B8BE21 #2169BE #7521BE
monochromatic
#53560F #868A18 #B8BE21 #D8DE3F #E2E773

Accessibility & contrast

On white

2.01
#B8BE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#B8BE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE21
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE21#FFFFFF#000000##000000
##B8BE211.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB831
Tritanopia (blue-blind)
#C5B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be21;
/* rgb */ color: rgb(184, 190, 33);
/* oklch */ color: oklch(77.2% 0.163 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d16d',
    500: '#b8be21',
    950: '#000000',
  },
}
SCSS
$custom: #b8be21;
$custom-light: #d1d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be21",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 62.293,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.77161,
    "c": 0.16308,
    "h": 112
  },
  "luminance": 0.47127
}

Semantic roles & 50–950 ramp

primary
#B8BE21
secondary
#716DCD
accent
#3BED41
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B8BE21

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

Preview Lab → · Contrast checker → · Palette generator →

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