#B4CD40#B4CD40

#B4CD40 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.4% C 0.164 H 119.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B4CD40
RGBrgb(180, 205, 64)
HSLhsl(71, 59%, 53%)
HSVhsv(71, 69%, 80%)
CMYKcmyk(12.2%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.31, -26.93, 64.04)
CIE-LCHlch(78.31, 69.47, 112.81°)
OKLaboklab(80.38% -0.0796 0.1436)
OKLCHoklch(80.38% 0.164 119)
XYZxyz(41.5799, 53.7364, 13.0312)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD40 #5940CD
analogous
#CD9F40 #B4CD40 #6ECD40
triadic
#B4CD40 #40B4CD #CD40B4
tetradic
#B4CD40 #40CD9F #5940CD #CD406E
square
#B4CD40 #40CD9F #5940CD #CD406E
split-complementary
#B4CD40 #406ECD #9F40CD
monochromatic
#65741E #8FA52B #B4CD40 #C7DA71 #DAE6A1

Accessibility & contrast

On white

1.79
#B4CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B4CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD40
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD40#FFFFFF#000000##000000
##B4CD401.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#BEC2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd40;
/* rgb */ color: rgb(180, 205, 64);
/* oklch */ color: oklch(80.4% 0.164 119.0);
Tailwind
colors: {
  custom: {
    50: '#cedc7d',
    500: '#b4cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd40;
$custom-light: #cedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd40",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 70.638,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80377,
    "c": 0.16422,
    "h": 119
  },
  "luminance": 0.53736
}

Semantic roles & 50–950 ramp

primary
#B4CD40
secondary
#41347D
accent
#46E262
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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