#B8BE38#B8BE38

#B8BE38 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.3% C 0.151 H 112.0°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B8BE38
RGBrgb(184, 190, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.2%, 0%, 70.5%, 25.5%)
CIE-LABlab(74.38, -18.37, 63.19)
CIE-LCHlch(74.38, 65.81, 106.21°)
OKLaboklab(77.29% -0.0567 0.1404)
OKLCHoklch(77.29% 0.151 112)
XYZxyz(38.8957, 47.3037, 10.8222)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE38 #3E38BE
analogous
#BE8138 #B8BE38 #75BE38
triadic
#B8BE38 #38B8BE #BE38B8
tetradic
#B8BE38 #38BE81 #3E38BE #BE3875
square
#B8BE38 #38BE81 #3E38BE #BE3875
split-complementary
#B8BE38 #3875BE #8138BE
monochromatic
#5C5F1C #8A8F2A #B8BE38 #CCD162 #DBDF92

Accessibility & contrast

On white

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

On black

10.46
#B8BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE38
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE38#FFFFFF#000000##000000
##B8BE381.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C5B2A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be38;
/* rgb */ color: rgb(184, 190, 56);
/* oklch */ color: oklch(77.3% 0.151 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d177',
    500: '#b8be38',
    950: '#000000',
  },
}
SCSS
$custom: #b8be38;
$custom-light: #d1d177;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be38",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 62.687,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77286,
    "c": 0.15147,
    "h": 112
  },
  "luminance": 0.47303
}

Semantic roles & 50–950 ramp

primary
#B8BE38
secondary
#8B88CA
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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