#B2CF4F#B2CF4F

#B2CF4F is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.156 H 120.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#B2CF4F
RGBrgb(178, 207, 79)
HSLhsl(74, 57%, 56%)
HSVhsv(74, 62%, 81%)
CMYKcmyk(14%, 0%, 61.8%, 18.8%)
CIE-LABlab(78.84, -27.71, 58.58)
CIE-LCHlch(78.84, 64.81, 115.31°)
OKLaboklab(80.81% -0.0802 0.1343)
OKLCHoklch(80.81% 0.156 120.8)
XYZxyz(42.0847, 54.6552, 15.7280)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF4F #6C4FCF
analogous
#CFAC4F #B2CF4F #72CF4F
triadic
#B2CF4F #4FB2CF #CF4FB2
tetradic
#B2CF4F #4FCFAC #6C4FCF #CF4F72
square
#B2CF4F #4FCFAC #6C4FCF #CF4F72
split-complementary
#B2CF4F #4F72CF #AC4FCF
monochromatic
#6B8123 #94B130 #B2CF4F #C7DC7F #DCE9AF

Accessibility & contrast

On white

1.76
#B2CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#B2CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CF4F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CF4F#FFFFFF#000000##000000
##B2CF4F1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf4f;
/* rgb */ color: rgb(178, 207, 79);
/* oklch */ color: oklch(80.8% 0.156 120.8);
Tailwind
colors: {
  custom: {
    50: '#ccdd86',
    500: '#b2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf4f;
$custom-light: #ccdd86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf4f",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 73.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.15645,
    "h": 120.8
  },
  "luminance": 0.54655
}

Semantic roles & 50–950 ramp

primary
#B2CF4F
secondary
#4C3A88
accent
#47E06A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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