#B4CF5F#B4CF5F

#B4CF5F is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.1% C 0.142 H 120.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#B4CF5F
RGBrgb(180, 207, 95)
HSLhsl(74, 54%, 59%)
HSVhsv(74, 54%, 81%)
CMYKcmyk(13%, 0%, 54.1%, 18.8%)
CIE-LABlab(79.13, -25.61, 51.88)
CIE-LCHlch(79.13, 57.85, 116.28°)
OKLaboklab(81.12% -0.073 0.1218)
OKLCHoklch(81.12% 0.142 120.9)
XYZxyz(43.2011, 55.1552, 19.1944)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF5F #7A5FCF
analogous
#CFB25F #B4CF5F #7CCF5F
triadic
#B4CF5F #5FB4CF #CF5FB4
tetradic
#B4CF5F #5FCFB2 #7A5FCF #CF5F7C
square
#B4CF5F #5FCFB2 #7A5FCF #CF5F7C
split-complementary
#B4CF5F #5F7CCF #B25FCF
monochromatic
#738A29 #9AB938 #B4CF5F #CADD8E #E0EBBD

Accessibility & contrast

On white

1.75
#B4CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#B4CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF5F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF5F#FFFFFF#000000##000000
##B4CF5F1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#D7C466
Tritanopia (blue-blind)
#BCC6B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b4cf5f;
/* rgb */ color: rgb(180, 207, 95);
/* oklch */ color: oklch(81.1% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#ccdd90',
    500: '#b4cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf5f;
$custom-light: #ccdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf5f",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 74.464,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81124,
    "c": 0.14195,
    "h": 120.9
  },
  "luminance": 0.55155
}

Semantic roles & 50–950 ramp

primary
#B4CF5F
secondary
#554191
accent
#4BDD6E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B4CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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