#B4CF40#B4CF40

#B4CF40 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.167 H 119.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#B4CF40
RGBrgb(180, 207, 64)
HSLhsl(71, 60%, 53%)
HSVhsv(71, 69%, 81%)
CMYKcmyk(13%, 0%, 69.1%, 18.8%)
CIE-LABlab(78.87, -27.89, 64.60)
CIE-LCHlch(78.87, 70.36, 113.35°)
OKLaboklab(80.83% -0.0822 0.1448)
OKLCHoklch(80.83% 0.167 119.6)
XYZxyz(42.0614, 54.6993, 13.1917)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF40 #5B40CF
analogous
#CFA340 #B4CF40 #6CCF40
triadic
#B4CF40 #40B4CF #CF40B4
tetradic
#B4CF40 #40CFA3 #5B40CF #CF406C
square
#B4CF40 #40CFA3 #5B40CF #CF406C
split-complementary
#B4CF40 #406CCF #A340CF
monochromatic
#66771E #90A82A #B4CF40 #C7DB71 #DAE8A2

Accessibility & contrast

On white

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

On black

11.94
#B4CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF40
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF40#FFFFFF#000000##000000
##B4CF401.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4cf40;
/* rgb */ color: rgb(180, 207, 64);
/* oklch */ color: oklch(80.8% 0.167 119.6);
Tailwind
colors: {
  custom: {
    50: '#cedd7d',
    500: '#b4cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf40;
$custom-light: #cedd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf40",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 71.329,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80828,
    "c": 0.16655,
    "h": 119.6
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#B4CF40
secondary
#42347F
accent
#45E363
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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