#B8CA48#B8CA48

#B8CA48 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.154 H 116.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#B8CA48
RGBrgb(184, 202, 72)
HSLhsl(68, 55%, 54%)
HSVhsv(68, 64%, 79%)
CMYKcmyk(8.9%, 0%, 64.4%, 20.8%)
CIE-LABlab(77.82, -23.36, 60.51)
CIE-LCHlch(77.82, 64.86, 111.11°)
OKLaboklab(80.07% -0.0691 0.1373)
OKLCHoklch(80.07% 0.154 116.7)
XYZxyz(42.0583, 52.8998, 14.1247)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA48 #5A48CA
analogous
#CA9B48 #B8CA48 #77CA48
triadic
#B8CA48 #48B8CA #CA48B8
tetradic
#B8CA48 #48CA9B #5A48CA #CA4877
square
#B8CA48 #48CA9B #5A48CA #CA4877
split-complementary
#B8CA48 #4877CA #9B48CA
monochromatic
#6A7622 #95A530 #B8CA48 #CAD877 #DDE5A7

Accessibility & contrast

On white

1.81
#B8CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#B8CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA48
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA48#FFFFFF#000000##000000
##B8CA481.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#C3BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca48;
/* rgb */ color: rgb(184, 202, 72);
/* oklch */ color: oklch(80.1% 0.154 116.7);
Tailwind
colors: {
  custom: {
    50: '#d0da81',
    500: '#b8ca48',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca48;
$custom-light: #d0da81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca48",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 68.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80072,
    "c": 0.15373,
    "h": 116.7
  },
  "luminance": 0.52899
}

Semantic roles & 50–950 ramp

primary
#B8CA48
secondary
#42387E
accent
#49DE5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B8CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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