#B7CC48#B7CC48

#B7CC48 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.156 H 117.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#B7CC48
RGBrgb(183, 204, 72)
HSLhsl(70, 56%, 54%)
HSVhsv(70, 65%, 80%)
CMYKcmyk(10.3%, 0%, 64.7%, 20%)
CIE-LABlab(78.30, -24.74, 60.99)
CIE-LCHlch(78.30, 65.82, 112.08°)
OKLaboklab(80.44% -0.0729 0.1384)
OKLCHoklch(80.44% 0.156 117.8)
XYZxyz(42.2918, 53.7213, 14.2709)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC48 #5D48CC
analogous
#CC9F48 #B7CC48 #75CC48
triadic
#B7CC48 #48B7CC #CC48B7
tetradic
#B7CC48 #48CC9F #5D48CC #CC4875
square
#B7CC48 #48CC9F #5D48CC #CC4875
split-complementary
#B7CC48 #4875CC #9F48CC
monochromatic
#6A7821 #95A82F #B7CC48 #CAD978 #DDE7A8

Accessibility & contrast

On white

1.79
#B7CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#B7CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC48
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC48#FFFFFF#000000##000000
##B7CC481.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C136
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#C2C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cc48;
/* rgb */ color: rgb(183, 204, 72);
/* oklch */ color: oklch(80.4% 0.156 117.8);
Tailwind
colors: {
  custom: {
    50: '#d0db81',
    500: '#b7cc48',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc48;
$custom-light: #d0db81;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc48",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 69.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.1564,
    "h": 117.8
  },
  "luminance": 0.53721
}

Semantic roles & 50–950 ramp

primary
#B7CC48
secondary
#433880
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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