#B2C948#B2C948

#B2C948 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.4% C 0.155 H 118.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#B2C948
RGBrgb(178, 201, 72)
HSLhsl(71, 54%, 54%)
HSVhsv(71, 64%, 79%)
CMYKcmyk(11.4%, 0%, 64.2%, 21.2%)
CIE-LABlab(77.10, -25.32, 59.63)
CIE-LCHlch(77.10, 64.78, 113.01°)
OKLaboklab(79.39% -0.0742 0.1356)
OKLCHoklch(79.39% 0.155 118.7)
XYZxyz(40.4172, 51.7064, 13.9808)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C948 #5F48C9
analogous
#C99F48 #B2C948 #71C948
triadic
#B2C948 #48B2C9 #C948B2
tetradic
#B2C948 #48C99F #5F48C9 #C94871
square
#B2C948 #48C99F #5F48C9 #C94871
split-complementary
#B2C948 #4871C9 #9F48C9
monochromatic
#667422 #8FA430 #B2C948 #C6D777 #DAE5A7

Accessibility & contrast

On white

1.85
#B2C948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#B2C948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C948
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C948#FFFFFF#000000##000000
##B2C9481.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE37
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#BCBFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c948;
/* rgb */ color: rgb(178, 201, 72);
/* oklch */ color: oklch(79.4% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#ccd981',
    500: '#b2c948',
    950: '#000000',
  },
}
SCSS
$custom: #b2c948;
$custom-light: #ccd981;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c948",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 70.698,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79393,
    "c": 0.15459,
    "h": 118.7
  },
  "luminance": 0.51706
}

Semantic roles & 50–950 ramp

primary
#B2C948
secondary
#44387D
accent
#4ADE64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C948

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

Preview Lab → · Contrast checker → · Palette generator →

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