#B4CF4F#B4CF4F

#B4CF4F is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 81.0% C 0.156 H 120.1°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#B4CF4F
RGBrgb(180, 207, 79)
HSLhsl(73, 57%, 56%)
HSVhsv(73, 62%, 81%)
CMYKcmyk(13%, 0%, 61.8%, 18.8%)
CIE-LABlab(78.98, -26.91, 58.77)
CIE-LCHlch(78.98, 64.64, 114.60°)
OKLaboklab(80.95% -0.0781 0.1347)
OKLCHoklch(80.95% 0.156 120.1)
XYZxyz(42.5471, 54.8936, 15.7497)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF4F #6A4FCF
analogous
#CFAA4F #B4CF4F #74CF4F
triadic
#B4CF4F #4FB4CF #CF4FB4
tetradic
#B4CF4F #4FCFAA #6A4FCF #CF4F74
square
#B4CF4F #4FCFAA #6A4FCF #CF4F74
split-complementary
#B4CF4F #4F74CF #AA4FCF
monochromatic
#6D8123 #96B130 #B4CF4F #C8DC7F #DDE9AF

Accessibility & contrast

On white

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

On black

11.98
#B4CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF4F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF4F#FFFFFF#000000##000000
##B4CF4F1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43F
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#BDC5B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b4cf4f;
/* rgb */ color: rgb(180, 207, 79);
/* oklch */ color: oklch(81.0% 0.156 120.1);
Tailwind
colors: {
  custom: {
    50: '#cddd86',
    500: '#b4cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf4f;
$custom-light: #cddd86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf4f",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 72.656,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80954,
    "c": 0.1557,
    "h": 120.1
  },
  "luminance": 0.54893
}

Semantic roles & 50–950 ramp

primary
#B4CF4F
secondary
#4B3A88
accent
#47E068
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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