#B8CB48#B8CB48

#B8CB48 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.155 H 117.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#B8CB48
RGBrgb(184, 203, 72)
HSLhsl(69, 56%, 54%)
HSVhsv(69, 65%, 80%)
CMYKcmyk(9.4%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.09, -23.85, 60.80)
CIE-LCHlch(78.09, 65.31, 111.42°)
OKLaboklab(80.3% -0.0705 0.1379)
OKLCHoklch(80.3% 0.155 117.1)
XYZxyz(42.2937, 53.3706, 14.2032)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CB48 #5B48CB
analogous
#CB9D48 #B8CB48 #77CB48
triadic
#B8CB48 #48B8CB #CB48B8
tetradic
#B8CB48 #48CB9D #5B48CB #CB4877
square
#B8CB48 #48CB9D #5B48CB #CB4877
split-complementary
#B8CB48 #4877CB #9D48CB
monochromatic
#6A7722 #95A62F #B8CB48 #CAD978 #DDE6A7

Accessibility & contrast

On white

1.80
#B8CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#B8CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CB48
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CB48#FFFFFF#000000##000000
##B8CB481.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C137
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#C3C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8cb48;
/* rgb */ color: rgb(184, 203, 72);
/* oklch */ color: oklch(80.3% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da81',
    500: '#b8cb48',
    950: '#000000',
  },
}
SCSS
$custom: #b8cb48;
$custom-light: #d0da81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cb48",
  "rgb": {
    "r": 184,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 68.702,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80295,
    "c": 0.15489,
    "h": 117.1
  },
  "luminance": 0.5337
}

Semantic roles & 50–950 ramp

primary
#B8CB48
secondary
#42387F
accent
#49DF5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B8CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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