#B2CF3A#B2CF3A

#B2CF3A is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.6% C 0.171 H 120.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#B2CF3A
RGBrgb(178, 207, 58)
HSLhsl(72, 61%, 52%)
HSVhsv(72, 72%, 81%)
CMYKcmyk(14%, 0%, 72%, 18.8%)
CIE-LABlab(78.69, -29.03, 66.53)
CIE-LCHlch(78.69, 72.59, 113.57°)
OKLaboklab(80.64% -0.0858 0.148)
OKLCHoklch(80.64% 0.171 120.1)
XYZxyz(41.4374, 54.3963, 12.3187)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF3A #573ACF
analogous
#CFA23A #B2CF3A #68CF3A
triadic
#B2CF3A #3AB2CF #CF3AB2
tetradic
#B2CF3A #3ACFA2 #573ACF #CF3A68
square
#B2CF3A #3ACFA2 #573ACF #CF3A68
split-complementary
#B2CF3A #3A68CF #A23ACF
monochromatic
#62731C #8CA428 #B2CF3A #C5DB6B #D8E79C

Accessibility & contrast

On white

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

On black

11.88
#B2CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CF3A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CF3A#FFFFFF#000000##000000
##B2CF3A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#BCC4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf3a;
/* rgb */ color: rgb(178, 207, 58);
/* oklch */ color: oklch(80.6% 0.171 120.1);
Tailwind
colors: {
  custom: {
    50: '#cddd7a',
    500: '#b2cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf3a;
$custom-light: #cddd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf3a",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 71.678,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8064,
    "c": 0.17106,
    "h": 120.1
  },
  "luminance": 0.54396
}

Semantic roles & 50–950 ramp

primary
#B2CF3A
secondary
#40327B
accent
#44E463
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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