#B2C748#B2C748

#B2C748 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 78.9% C 0.152 H 118.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#B2C748
RGBrgb(178, 199, 72)
HSLhsl(70, 53%, 53%)
HSVhsv(70, 64%, 78%)
CMYKcmyk(10.6%, 0%, 63.8%, 22%)
CIE-LABlab(76.55, -24.35, 59.04)
CIE-LCHlch(76.55, 63.86, 112.42°)
OKLaboklab(78.94% -0.0715 0.1343)
OKLCHoklch(78.94% 0.152 118)
XYZxyz(39.9540, 50.7801, 13.8264)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C748 #5D48C7
analogous
#C79C48 #B2C748 #72C748
triadic
#B2C748 #48B2C7 #C748B2
tetradic
#B2C748 #48C79C #5D48C7 #C74872
square
#B2C748 #48C79C #5D48C7 #C74872
split-complementary
#B2C748 #4872C7 #9C48C7
monochromatic
#657223 #8EA131 #B2C748 #C6D577 #D9E4A6

Accessibility & contrast

On white

1.88
#B2C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#B2C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C748
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C748#FFFFFF#000000##000000
##B2C7481.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#BCBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c748;
/* rgb */ color: rgb(178, 199, 72);
/* oklch */ color: oklch(78.9% 0.152 118.0);
Tailwind
colors: {
  custom: {
    50: '#ccd881',
    500: '#b2c748',
    950: '#000000',
  },
}
SCSS
$custom: #b2c748;
$custom-light: #ccd881;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c748",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 69.921,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78943,
    "c": 0.1522,
    "h": 118
  },
  "luminance": 0.5078
}

Semantic roles & 50–950 ramp

primary
#B2C748
secondary
#43387B
accent
#4BDD63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C748

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

Preview Lab → · Contrast checker → · Palette generator →

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