#B2C442#B2C442

#B2C442 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.2% C 0.153 H 116.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#B2C442
RGBrgb(178, 196, 66)
HSLhsl(68, 52%, 51%)
HSVhsv(68, 66%, 77%)
CMYKcmyk(9.2%, 0%, 66.3%, 23.1%)
CIE-LABlab(75.66, -23.28, 60.53)
CIE-LCHlch(75.66, 64.85, 111.04°)
OKLaboklab(78.22% -0.0691 0.1366)
OKLCHoklch(78.22% 0.153 116.8)
XYZxyz(39.0842, 49.3387, 12.6176)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C442 #5442C4
analogous
#C49542 #B2C442 #71C442
triadic
#B2C442 #42B2C4 #C442B2
tetradic
#B2C442 #42C495 #5442C4 #C44271
square
#B2C442 #42C495 #5442C4 #C44271
split-complementary
#B2C442 #4271C4 #9542C4
monochromatic
#606A21 #8A9930 #B2C442 #C5D371 #D8E19F

Accessibility & contrast

On white

1.93
#B2C442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#B2C442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C442
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C442#FFFFFF#000000##000000
##B2C4421.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#BDB9AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c442;
/* rgb */ color: rgb(178, 196, 66);
/* oklch */ color: oklch(78.2% 0.153 116.8);
Tailwind
colors: {
  custom: {
    50: '#ccd57d',
    500: '#b2c442',
    950: '#000000',
  },
}
SCSS
$custom: #b2c442;
$custom-light: #ccd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c442",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 68.308,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.15312,
    "h": 116.8
  },
  "luminance": 0.49338
}

Semantic roles & 50–950 ramp

primary
#B2C442
secondary
#9C94CE
accent
#4CDC60
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #B2C442

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

Preview Lab → · Contrast checker → · Palette generator →

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