#B5CA40#B5CA40

#B5CA40 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.160 H 117.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#B5CA40
RGBrgb(181, 202, 64)
HSLhsl(69, 57%, 52%)
HSVhsv(69, 68%, 79%)
CMYKcmyk(10.4%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.54, -25.08, 63.29)
CIE-LCHlch(77.54, 68.08, 111.62°)
OKLaboklab(79.78% -0.0745 0.142)
OKLCHoklch(79.78% 0.16 117.7)
XYZxyz(41.1029, 52.4354, 12.8052)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA40 #5540CA
analogous
#CA9A40 #B5CA40 #70CA40
triadic
#B5CA40 #40B5CA #CA40B5
tetradic
#B5CA40 #40CA9A #5540CA #CA4070
square
#B5CA40 #40CA9A #5540CA #CA4070
split-complementary
#B5CA40 #4070CA #9A40CA
monochromatic
#64701F #8FA02C #B5CA40 #C8D770 #DAE5A0

Accessibility & contrast

On white

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

On black

11.49
#B5CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA40
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA40#FFFFFF#000000##000000
##B5CA401.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ca40;
/* rgb */ color: rgb(181, 202, 64);
/* oklch */ color: oklch(79.8% 0.160 117.7);
Tailwind
colors: {
  custom: {
    50: '#ceda7d',
    500: '#b5ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca40;
$custom-light: #ceda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca40",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 69.13,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79778,
    "c": 0.1604,
    "h": 117.7
  },
  "luminance": 0.52435
}

Semantic roles & 50–950 ramp

primary
#B5CA40
secondary
#3F357A
accent
#48E05F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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