#B2CF38#B2CF38

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

Color values

HEX#B2CF38
RGBrgb(178, 207, 56)
HSLhsl(72, 61%, 52%)
HSVhsv(72, 73%, 81%)
CMYKcmyk(14%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.68, -29.13, 67.20)
CIE-LCHlch(78.68, 73.25, 113.43°)
OKLaboklab(80.63% -0.0862 0.1491)
OKLCHoklch(80.63% 0.172 120.1)
XYZxyz(41.3875, 54.3763, 12.0560)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF38 #5538CF
analogous
#CFA138 #B2CF38 #67CF38
triadic
#B2CF38 #38B2CF #CF38B2
tetradic
#B2CF38 #38CFA1 #5538CF #CF3867
square
#B2CF38 #38CFA1 #5538CF #CF3867
split-complementary
#B2CF38 #3867CF #A138CF
monochromatic
#61711B #8BA327 #B2CF38 #C5DB69 #D8E79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CF38#FFFFFF#000000##000000
##B2CF381.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)
#DCC319
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#BCC4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf38;
/* rgb */ color: rgb(178, 207, 56);
/* oklch */ color: oklch(80.6% 0.172 120.1);
Tailwind
colors: {
  custom: {
    50: '#cddd79',
    500: '#b2cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf38;
$custom-light: #cddd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf38",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 71.523,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80627,
    "c": 0.17223,
    "h": 120.1
  },
  "luminance": 0.54376
}

Semantic roles & 50–950 ramp

primary
#B2CF38
secondary
#3F317A
accent
#44E462
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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