#B2CF42#B2CF42

#B2CF42 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.7% C 0.166 H 120.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#B2CF42
RGBrgb(178, 207, 66)
HSLhsl(72, 59%, 54%)
HSVhsv(72, 68%, 81%)
CMYKcmyk(14%, 0%, 68.1%, 18.8%)
CIE-LABlab(78.74, -28.58, 63.68)
CIE-LCHlch(78.74, 69.80, 114.17°)
OKLaboklab(80.7% -0.0839 0.1432)
OKLCHoklch(80.7% 0.166 120.3)
XYZxyz(41.6570, 54.4841, 13.4751)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF42 #5F42CF
analogous
#CFA542 #B2CF42 #6BCF42
triadic
#B2CF42 #42B2CF #CF42B2
tetradic
#B2CF42 #42CFA5 #5F42CF #CF426B
square
#B2CF42 #42CFA5 #5F42CF #CF426B
split-complementary
#B2CF42 #426BCF #A542CF
monochromatic
#66781F #8FA92B #B2CF42 #C6DB73 #DAE8A4

Accessibility & contrast

On white

1.77
#B2CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#B2CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CF42
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CF42#FFFFFF#000000##000000
##B2CF421.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32C
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#BCC4B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf42;
/* rgb */ color: rgb(178, 207, 66);
/* oklch */ color: oklch(80.7% 0.166 120.3);
Tailwind
colors: {
  custom: {
    50: '#ccdd7e',
    500: '#b2cf42',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf42;
$custom-light: #ccdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf42",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 72.34,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80697,
    "c": 0.16599,
    "h": 120.3
  },
  "luminance": 0.54484
}

Semantic roles & 50–950 ramp

primary
#B2CF42
secondary
#443580
accent
#45E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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