#B4CF48#B4CF48

#B4CF48 is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.9% C 0.161 H 119.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#B4CF48
RGBrgb(180, 207, 72)
HSLhsl(72, 58%, 55%)
HSVhsv(72, 65%, 81%)
CMYKcmyk(13%, 0%, 65.2%, 18.8%)
CIE-LABlab(78.92, -27.40, 61.58)
CIE-LCHlch(78.92, 67.40, 113.98°)
OKLaboklab(80.89% -0.0801 0.1397)
OKLCHoklch(80.89% 0.161 119.8)
XYZxyz(42.3056, 54.7970, 14.4778)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF48 #6348CF
analogous
#CFA748 #B4CF48 #71CF48
triadic
#B4CF48 #48B4CF #CF48B4
tetradic
#B4CF48 #48CFA7 #6348CF #CF4871
square
#B4CF48 #48CFA7 #6348CF #CF4871
split-complementary
#B4CF48 #4871CF #A748CF
monochromatic
#6A7C21 #93AD2D #B4CF48 #C8DC78 #DCE8A9

Accessibility & contrast

On white

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

On black

11.96
#B4CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF48
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF48#FFFFFF#000000##000000
##B4CF481.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#D8C452
Tritanopia (blue-blind)
#BEC4B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b4cf48;
/* rgb */ color: rgb(180, 207, 72);
/* oklch */ color: oklch(80.9% 0.161 119.8);
Tailwind
colors: {
  custom: {
    50: '#cddd82',
    500: '#b4cf48',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf48;
$custom-light: #cddd82;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf48",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 72,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80891,
    "c": 0.16102,
    "h": 119.8
  },
  "luminance": 0.54797
}

Semantic roles & 50–950 ramp

primary
#B4CF48
secondary
#473784
accent
#46E265
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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