#B2C548#B2C548

#B2C548 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.150 H 117.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B2C548
RGBrgb(178, 197, 72)
HSLhsl(69, 52%, 53%)
HSVhsv(69, 63%, 77%)
CMYKcmyk(9.6%, 0%, 63.5%, 22.7%)
CIE-LABlab(75.99, -23.38, 58.44)
CIE-LCHlch(75.99, 62.94, 111.80°)
OKLaboklab(78.5% -0.0688 0.1331)
OKLCHoklch(78.5% 0.15 117.3)
XYZxyz(39.4968, 49.8658, 13.6740)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C548 #5B48C5
analogous
#C59948 #B2C548 #73C548
triadic
#B2C548 #48B2C5 #C548B2
tetradic
#B2C548 #48C599 #5B48C5 #C54873
square
#B2C548 #48C599 #5B48C5 #C54873
split-complementary
#B2C548 #4873C5 #9948C5
monochromatic
#646F23 #8D9E32 #B2C548 #C6D476 #D9E2A5

Accessibility & contrast

On white

1.91
#B2C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B2C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C548
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C548#FFFFFF#000000##000000
##B2C5481.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#BCBBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b2c548;
/* rgb */ color: rgb(178, 197, 72);
/* oklch */ color: oklch(78.5% 0.150 117.3);
Tailwind
colors: {
  custom: {
    50: '#ccd681',
    500: '#b2c548',
    950: '#000000',
  },
}
SCSS
$custom: #b2c548;
$custom-light: #ccd681;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c548",
  "rgb": {
    "r": 178,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 69.12,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78495,
    "c": 0.14983,
    "h": 117.3
  },
  "luminance": 0.49865
}

Semantic roles & 50–950 ramp

primary
#B2C548
secondary
#A299CF
accent
#4CDB62
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #B2C548

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

Preview Lab → · Contrast checker → · Palette generator →

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