#B4CF8A#B4CF8A

#B4CF8A is a light, moderate yellow-green. Relative luminance 0.562; OKLCH L 81.8% C 0.096 H 125.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#B4CF8A
RGBrgb(180, 207, 138)
HSLhsl(83, 42%, 68%)
HSVhsv(83, 33%, 81%)
CMYKcmyk(13%, 0%, 33.3%, 18.8%)
CIE-LABlab(79.71, -20.76, 31.39)
CIE-LCHlch(79.71, 37.63, 123.48°)
OKLaboklab(81.77% -0.0564 0.0781)
OKLCHoklch(81.77% 0.096 125.8)
XYZxyz(45.7222, 56.1636, 32.4717)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF8A #A58ACF
analogous
#CFC78A #B4CF8A #92CF8A
triadic
#B4CF8A #8AB4CF #CF8AB4
tetradic
#B4CF8A #8ACFC7 #A58ACF #CF8A92
square
#B4CF8A #8ACFC7 #A58ACF #CF8A92
split-complementary
#B4CF8A #8A92CF #C78ACF
monochromatic
#799E41 #98BD5F #B4CF8A #D0E1B5 #ECF3E1

Accessibility & contrast

On white

1.72
#B4CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#B4CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF8A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF8A#FFFFFF#000000##000000
##B4CF8A1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#D2C58D
Tritanopia (blue-blind)
#B8C9BD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b4cf8a;
/* rgb */ color: rgb(180, 207, 138);
/* oklch */ color: oklch(81.8% 0.096 125.8);
Tailwind
colors: {
  custom: {
    50: '#cbddad',
    500: '#b4cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf8a;
$custom-light: #cbddad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf8a",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 83.478,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81773,
    "c": 0.09634,
    "h": 125.8
  },
  "luminance": 0.56164
}

Semantic roles & 50–950 ramp

primary
#B4CF8A
secondary
#775AA4
accent
#31B564
background
#FEFEFD
surface
#FAFCF7
border
#D3D5D0
text
#131510
muted
#838481

Preview Lab

Preview with #B4CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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