#B8CE48#B8CE48

#B8CE48 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.0% C 0.158 H 118.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#B8CE48
RGBrgb(184, 206, 72)
HSLhsl(70, 58%, 55%)
HSVhsv(70, 65%, 81%)
CMYKcmyk(10.7%, 0%, 65%, 19.2%)
CIE-LABlab(78.93, -25.30, 61.67)
CIE-LCHlch(78.93, 66.66, 112.31°)
OKLaboklab(80.96% -0.0745 0.1398)
OKLCHoklch(80.96% 0.158 118.1)
XYZxyz(43.0090, 54.8012, 14.4416)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CE48 #5E48CE
analogous
#CEA148 #B8CE48 #75CE48
triadic
#B8CE48 #48B8CE #CE48B8
tetradic
#B8CE48 #48CEA1 #5E48CE #CE4875
square
#B8CE48 #48CEA1 #5E48CE #CE4875
split-complementary
#B8CE48 #4875CE #A148CE
monochromatic
#6C7B21 #96AB2E #B8CE48 #CBDB78 #DDE8A9

Accessibility & contrast

On white

1.76
#B8CE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#B8CE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CE48
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CE48#FFFFFF#000000##000000
##B8CE481.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#C3C3B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b8ce48;
/* rgb */ color: rgb(184, 206, 72);
/* oklch */ color: oklch(81.0% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#d0dc82',
    500: '#b8ce48',
    950: '#000000',
  },
}
SCSS
$custom: #b8ce48;
$custom-light: #d0dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ce48",
  "rgb": {
    "r": 184,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 69.851,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.1584,
    "h": 118.1
  },
  "luminance": 0.54801
}

Semantic roles & 50–950 ramp

primary
#B8CE48
secondary
#443783
accent
#47E160
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8CE48

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

Preview Lab → · Contrast checker → · Palette generator →

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