#B8BE2B#B8BE2B

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

Color values

HEX#B8BE2B
RGBrgb(184, 190, 43)
HSLhsl(62, 63%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(3.2%, 0%, 77.4%, 25.5%)
CIE-LABlab(74.31, -18.95, 67.44)
CIE-LCHlch(74.31, 70.06, 105.69°)
OKLaboklab(77.21% -0.0595 0.1472)
OKLCHoklch(77.21% 0.159 112)
XYZxyz(38.6180, 47.1926, 9.3598)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE2B #312BBE
analogous
#BE7A2B #B8BE2B #6EBE2B
triadic
#B8BE2B #2BB8BE #BE2BB8
tetradic
#B8BE2B #2BBE7A #312BBE #BE2B6E
square
#B8BE2B #2BBE7A #312BBE #BE2B6E
split-complementary
#B8BE2B #2B6EBE #7A2BBE
monochromatic
#575A14 #888C20 #B8BE2B #D2D74F #DEE281

Accessibility & contrast

On white

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

On black

10.44
#B8BE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE2B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE2B#FFFFFF#000000##000000
##B8BE2B1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8be2b;
/* rgb */ color: rgb(184, 190, 43);
/* oklch */ color: oklch(77.2% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d171',
    500: '#b8be2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8be2b;
$custom-light: #d1d171;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be2b",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 43
  },
  "hsl": {
    "h": 62.449,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77207,
    "c": 0.15873,
    "h": 112
  },
  "luminance": 0.47192
}

Semantic roles & 50–950 ramp

primary
#B8BE2B
secondary
#7D7ACB
accent
#42E648
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B8BE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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