#B2C048#B2C048

#B2C048 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.144 H 115.5°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B2C048
RGBrgb(178, 192, 72)
HSLhsl(67, 49%, 52%)
HSVhsv(67, 63%, 75%)
CMYKcmyk(7.3%, 0%, 62.5%, 24.7%)
CIE-LABlab(74.59, -20.92, 56.96)
CIE-LCHlch(74.59, 60.68, 110.17°)
OKLaboklab(77.38% -0.0619 0.13)
OKLCHoklch(77.38% 0.144 115.5)
XYZxyz(38.3803, 47.6327, 13.3018)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C048 #5648C0
analogous
#C09248 #B2C048 #76C048
triadic
#B2C048 #48B2C0 #C048B2
tetradic
#B2C048 #48C092 #5648C0 #C04876
square
#B2C048 #48C092 #5648C0 #C04876
split-complementary
#B2C048 #4876C0 #9248C0
monochromatic
#616924 #8B9734 #B2C048 #C5D076 #D8DFA3

Accessibility & contrast

On white

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

On black

10.53
#B2C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C048
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C048#FFFFFF#000000##000000
##B2C0481.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c048;
/* rgb */ color: rgb(178, 192, 72);
/* oklch */ color: oklch(77.4% 0.144 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd280',
    500: '#b2c048',
    950: '#000000',
  },
}
SCSS
$custom: #b2c048;
$custom-light: #ccd280;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c048",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 67,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77376,
    "c": 0.14396,
    "h": 115.5
  },
  "luminance": 0.47632
}

Semantic roles & 50–950 ramp

primary
#B2C048
secondary
#9E98CC
accent
#4FD85F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C048

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

Preview Lab → · Contrast checker → · Palette generator →

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