#B2CB42#B2CB42

#B2CB42 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.161 H 119.2°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#B2CB42
RGBrgb(178, 203, 66)
HSLhsl(71, 57%, 53%)
HSVhsv(71, 67%, 80%)
CMYKcmyk(12.3%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.62, -26.67, 62.54)
CIE-LCHlch(77.62, 67.99, 113.10°)
OKLaboklab(79.79% -0.0786 0.1409)
OKLCHoklch(79.79% 0.161 119.2)
XYZxyz(40.7001, 52.5705, 13.1562)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB42 #5B42CB
analogous
#CB9F42 #B2CB42 #6DCB42
triadic
#B2CB42 #42B2CB #CB42B2
tetradic
#B2CB42 #42CB9F #5B42CB #CB426D
square
#B2CB42 #42CB9F #5B42CB #CB426D
split-complementary
#B2CB42 #426DCB #9F42CB
monochromatic
#647320 #8DA32D #B2CB42 #C6D872 #D9E5A2

Accessibility & contrast

On white

1.82
#B2CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#B2CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB42
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB42#FFFFFF#000000##000000
##B2CB421.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#BCC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb42;
/* rgb */ color: rgb(178, 203, 66);
/* oklch */ color: oklch(79.8% 0.161 119.2);
Tailwind
colors: {
  custom: {
    50: '#ccda7e',
    500: '#b2cb42',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb42;
$custom-light: #ccda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb42",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 70.949,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79793,
    "c": 0.16128,
    "h": 119.2
  },
  "luminance": 0.5257
}

Semantic roles & 50–950 ramp

primary
#B2CB42
secondary
#42357C
accent
#48E064
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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