#B2CB4F#B2CB4F

#B2CB4F is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.152 H 119.6°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#B2CB4F
RGBrgb(178, 203, 79)
HSLhsl(72, 54%, 55%)
HSVhsv(72, 61%, 80%)
CMYKcmyk(12.3%, 0%, 61.1%, 20.4%)
CIE-LABlab(77.72, -25.79, 57.37)
CIE-LCHlch(77.72, 62.90, 114.21°)
OKLaboklab(79.91% -0.0749 0.1317)
OKLCHoklch(79.91% 0.152 119.6)
XYZxyz(41.1279, 52.7416, 15.4091)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB4F #684FCB
analogous
#CBA64F #B2CB4F #74CB4F
triadic
#B2CB4F #4FB2CB #CB4FB2
tetradic
#B2CB4F #4FCBA6 #684FCB #CB4F74
square
#B2CB4F #4FCBA6 #684FCB #CB4F74
split-complementary
#B2CB4F #4F74CB #A64FCB
monochromatic
#6A7B24 #92AA32 #B2CB4F #C7D97E #DBE7AD

Accessibility & contrast

On white

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

On black

11.55
#B2CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB4F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB4F#FFFFFF#000000##000000
##B2CB4F1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#BBC1B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb4f;
/* rgb */ color: rgb(178, 203, 79);
/* oklch */ color: oklch(79.9% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#ccda85',
    500: '#b2cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb4f;
$custom-light: #ccda85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb4f",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 72.097,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79907,
    "c": 0.15153,
    "h": 119.6
  },
  "luminance": 0.52741
}

Semantic roles & 50–950 ramp

primary
#B2CB4F
secondary
#493B83
accent
#4ADE68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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