#B4CA28#B4CA28

#B4CA28 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.174 H 117.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B4CA28
RGBrgb(180, 202, 40)
HSLhsl(68, 67%, 47%)
HSVhsv(68, 80%, 79%)
CMYKcmyk(10.9%, 0%, 80.2%, 20.8%)
CIE-LABlab(77.34, -26.61, 70.88)
CIE-LCHlch(77.34, 75.71, 110.58°)
OKLaboklab(79.56% -0.0807 0.1541)
OKLCHoklch(79.56% 0.174 117.6)
XYZxyz(40.3270, 52.0980, 9.9386)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA28 #3E28CA
analogous
#CA8F28 #B4CA28 #63CA28
triadic
#B4CA28 #28B4CA #CA28B4
tetradic
#B4CA28 #28CA8F #3E28CA #CA2863
square
#B4CA28 #28CA8F #3E28CA #CA2863
split-complementary
#B4CA28 #2863CA #8F28CA
monochromatic
#596414 #86971E #B4CA28 #CADD52 #DAE785

Accessibility & contrast

On white

1.84
#B4CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B4CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA28
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA28#FFFFFF#000000##000000
##B4CA281.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D6C039
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b4ca28;
/* rgb */ color: rgb(180, 202, 40);
/* oklch */ color: oklch(79.6% 0.174 117.6);
Tailwind
colors: {
  custom: {
    50: '#ceda71',
    500: '#b4ca28',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca28;
$custom-light: #ceda71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca28",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 68.148,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79557,
    "c": 0.17396,
    "h": 117.6
  },
  "luminance": 0.52098
}

Semantic roles & 50–950 ramp

primary
#B4CA28
secondary
#31286E
accent
#3EEA55
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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