#B4C548#B4C548

#B4C548 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.6% C 0.149 H 116.5°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#B4C548
RGBrgb(180, 197, 72)
HSLhsl(68, 52%, 53%)
HSVhsv(68, 63%, 77%)
CMYKcmyk(8.6%, 0%, 63.5%, 22.7%)
CIE-LABlab(76.13, -22.56, 58.64)
CIE-LCHlch(76.13, 62.83, 111.04°)
OKLaboklab(78.65% -0.0666 0.1335)
OKLCHoklch(78.65% 0.149 116.5)
XYZxyz(39.9592, 50.1042, 13.6957)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C548 #5948C5
analogous
#C59748 #B4C548 #75C548
triadic
#B4C548 #48B4C5 #C548B4
tetradic
#B4C548 #48C597 #5948C5 #C54875
square
#B4C548 #48C597 #5948C5 #C54875
split-complementary
#B4C548 #4875C5 #9748C5
monochromatic
#656F23 #8F9E32 #B4C548 #C7D476 #DAE2A5

Accessibility & contrast

On white

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

On black

11.02
#B4C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C548
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C548#FFFFFF#000000##000000
##B4C5481.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D0BD51
Tritanopia (blue-blind)
#BFBAAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b4c548;
/* rgb */ color: rgb(180, 197, 72);
/* oklch */ color: oklch(78.6% 0.149 116.5);
Tailwind
colors: {
  custom: {
    50: '#cdd681',
    500: '#b4c548',
    950: '#000000',
  },
}
SCSS
$custom: #b4c548;
$custom-light: #cdd681;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c548",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 68.16,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78649,
    "c": 0.14919,
    "h": 116.5
  },
  "luminance": 0.50104
}

Semantic roles & 50–950 ramp

primary
#B4C548
secondary
#413879
accent
#4CDB60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C548

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

Preview Lab → · Contrast checker → · Palette generator →

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