#B2C148#B2C148

#B2C148 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.6% C 0.145 H 115.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B2C148
RGBrgb(178, 193, 72)
HSLhsl(67, 49%, 52%)
HSVhsv(67, 63%, 76%)
CMYKcmyk(7.8%, 0%, 62.7%, 24.3%)
CIE-LABlab(74.87, -21.41, 57.25)
CIE-LCHlch(74.87, 61.13, 110.51°)
OKLaboklab(77.6% -0.0633 0.1306)
OKLCHoklch(77.6% 0.145 115.9)
XYZxyz(38.6006, 48.0733, 13.3753)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C148 #5748C1
analogous
#C19448 #B2C148 #76C148
triadic
#B2C148 #48B2C1 #C148B2
tetradic
#B2C148 #48C194 #5748C1 #C14876
square
#B2C148 #48C194 #5748C1 #C14876
split-complementary
#B2C148 #4876C1 #9448C1
monochromatic
#626B24 #8C9834 #B2C148 #C5D076 #D8E0A3

Accessibility & contrast

On white

1.98
#B2C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#B2C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C148
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C148#FFFFFF#000000##000000
##B2C1481.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#BDB7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c148;
/* rgb */ color: rgb(178, 193, 72);
/* oklch */ color: oklch(77.6% 0.145 115.9);
Tailwind
colors: {
  custom: {
    50: '#ccd380',
    500: '#b2c148',
    950: '#000000',
  },
}
SCSS
$custom: #b2c148;
$custom-light: #ccd380;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c148",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 67.438,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.776,
    "c": 0.14513,
    "h": 115.9
  },
  "luminance": 0.48073
}

Semantic roles & 50–950 ramp

primary
#B2C148
secondary
#9E98CD
accent
#4FD960
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C148

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

Preview Lab → · Contrast checker → · Palette generator →

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