#B4CB40#B4CB40

#B4CB40 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.162 H 118.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B4CB40
RGBrgb(180, 203, 64)
HSLhsl(70, 57%, 52%)
HSVhsv(70, 68%, 80%)
CMYKcmyk(11.3%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.75, -25.98, 63.48)
CIE-LCHlch(77.75, 68.58, 112.26°)
OKLaboklab(79.93% -0.0769 0.1425)
OKLCHoklch(79.93% 0.162 118.4)
XYZxyz(41.1046, 52.7857, 12.8727)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB40 #5740CB
analogous
#CB9D40 #B4CB40 #6FCB40
triadic
#B4CB40 #40B4CB #CB40B4
tetradic
#B4CB40 #40CB9D #5740CB #CB406F
square
#B4CB40 #40CB9D #5740CB #CB406F
split-complementary
#B4CB40 #406FCB #9D40CB
monochromatic
#64721F #8EA22C #B4CB40 #C7D870 #DAE5A0

Accessibility & contrast

On white

1.82
#B4CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B4CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB40
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB40#FFFFFF#000000##000000
##B4CB401.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4cb40;
/* rgb */ color: rgb(180, 203, 64);
/* oklch */ color: oklch(79.9% 0.162 118.4);
Tailwind
colors: {
  custom: {
    50: '#ceda7d',
    500: '#b4cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb40;
$custom-light: #ceda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb40",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 69.928,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79927,
    "c": 0.16191,
    "h": 118.4
  },
  "luminance": 0.52785
}

Semantic roles & 50–950 ramp

primary
#B4CB40
secondary
#40357B
accent
#47E061
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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