#B4C048#B4C048

#B4C048 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.143 H 114.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B4C048
RGBrgb(180, 192, 72)
HSLhsl(66, 49%, 52%)
HSVhsv(66, 63%, 75%)
CMYKcmyk(6.2%, 0%, 62.5%, 24.7%)
CIE-LABlab(74.74, -20.09, 57.16)
CIE-LCHlch(74.74, 60.59, 109.37°)
OKLaboklab(77.54% -0.0597 0.1303)
OKLCHoklch(77.54% 0.143 114.6)
XYZxyz(38.8426, 47.8711, 13.3235)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C048 #5448C0
analogous
#C09048 #B4C048 #78C048
triadic
#B4C048 #48B4C0 #C048B4
tetradic
#B4C048 #48C090 #5448C0 #C04878
square
#B4C048 #48C090 #5448C0 #C04878
split-complementary
#B4C048 #4878C0 #9048C0
monochromatic
#626924 #8D9734 #B4C048 #C7D076 #D9DFA3

Accessibility & contrast

On white

1.99
#B4C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B4C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C048
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C048#FFFFFF#000000##000000
##B4C0481.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#BFB5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c048;
/* rgb */ color: rgb(180, 192, 72);
/* oklch */ color: oklch(77.5% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#cdd280',
    500: '#b4c048',
    950: '#000000',
  },
}
SCSS
$custom: #b4c048;
$custom-light: #cdd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c048",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 66,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.14338,
    "h": 114.6
  },
  "luminance": 0.4787
}

Semantic roles & 50–950 ramp

primary
#B4C048
secondary
#9D98CC
accent
#4FD85D
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4C048

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

Preview Lab → · Contrast checker → · Palette generator →

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