#B4CA40#B4CA40

#B4CA40 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.161 H 118.1°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#B4CA40
RGBrgb(180, 202, 64)
HSLhsl(70, 57%, 52%)
HSVhsv(70, 68%, 79%)
CMYKcmyk(10.9%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.47, -25.49, 63.19)
CIE-LCHlch(77.47, 68.14, 111.97°)
OKLaboklab(79.7% -0.0756 0.1419)
OKLCHoklch(79.7% 0.161 118.1)
XYZxyz(40.8692, 52.3149, 12.7943)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA40 #5640CA
analogous
#CA9B40 #B4CA40 #6FCA40
triadic
#B4CA40 #40B4CA #CA40B4
tetradic
#B4CA40 #40CA9B #5640CA #CA406F
square
#B4CA40 #40CA9B #5640CA #CA406F
split-complementary
#B4CA40 #406FCA #9B40CA
monochromatic
#63701F #8EA02C #B4CA40 #C7D770 #DAE5A0

Accessibility & contrast

On white

1.83
#B4CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#B4CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA40
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA40#FFFFFF#000000##000000
##B4CA401.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#BFBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b4ca40;
/* rgb */ color: rgb(180, 202, 64);
/* oklch */ color: oklch(79.7% 0.161 118.1);
Tailwind
colors: {
  custom: {
    50: '#ceda7d',
    500: '#b4ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca40;
$custom-light: #ceda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca40",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 69.565,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.16075,
    "h": 118.1
  },
  "luminance": 0.52315
}

Semantic roles & 50–950 ramp

primary
#B4CA40
secondary
#40357A
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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