#B5CA48#B5CA48

#B5CA48 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.155 H 117.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#B5CA48
RGBrgb(181, 202, 72)
HSLhsl(70, 55%, 54%)
HSVhsv(70, 64%, 79%)
CMYKcmyk(10.4%, 0%, 64.4%, 20.8%)
CIE-LABlab(77.60, -24.59, 60.21)
CIE-LCHlch(77.60, 65.04, 112.21°)
OKLaboklab(79.84% -0.0724 0.1368)
OKLCHoklch(79.84% 0.155 117.9)
XYZxyz(41.3471, 52.5331, 14.0914)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA48 #5D48CA
analogous
#CA9E48 #B5CA48 #74CA48
triadic
#B5CA48 #48B5CA #CA48B5
tetradic
#B5CA48 #48CA9E #5D48CA #CA4874
square
#B5CA48 #48CA9E #5D48CA #CA4874
split-complementary
#B5CA48 #4874CA #9E48CA
monochromatic
#687622 #92A530 #B5CA48 #C8D877 #DBE5A7

Accessibility & contrast

On white

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

On black

11.51
#B5CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA48
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA48#FFFFFF#000000##000000
##B5CA481.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#BFBFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5ca48;
/* rgb */ color: rgb(181, 202, 72);
/* oklch */ color: oklch(79.8% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#ceda81',
    500: '#b5ca48',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca48;
$custom-light: #ceda81;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca48",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 69.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79843,
    "c": 0.15473,
    "h": 117.9
  },
  "luminance": 0.52533
}

Semantic roles & 50–950 ramp

primary
#B5CA48
secondary
#43387E
accent
#49DE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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