#B5CB40#B5CB40

#B5CB40 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.0% C 0.162 H 118.0°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#B5CB40
RGBrgb(181, 203, 64)
HSLhsl(69, 57%, 52%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(10.8%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.82, -25.57, 63.57)
CIE-LCHlch(77.82, 68.52, 111.91°)
OKLaboklab(80% -0.0759 0.1426)
OKLCHoklch(80% 0.162 118)
XYZxyz(41.3383, 52.9062, 12.8837)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB40 #5640CB
analogous
#CB9B40 #B5CB40 #70CB40
triadic
#B5CB40 #40B5CB #CB40B5
tetradic
#B5CB40 #40CB9B #5640CB #CB4070
square
#B5CB40 #40CB9B #5640CB #CB4070
split-complementary
#B5CB40 #4070CB #9B40CB
monochromatic
#65721F #8FA22C #B5CB40 #C8D870 #DAE5A0

Accessibility & contrast

On white

1.81
#B5CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#B5CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB40
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB40#FFFFFF#000000##000000
##B5CB401.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5cb40;
/* rgb */ color: rgb(181, 203, 64);
/* oklch */ color: oklch(80.0% 0.162 118.0);
Tailwind
colors: {
  custom: {
    50: '#ceda7d',
    500: '#b5cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb40;
$custom-light: #ceda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb40",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 69.496,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80002,
    "c": 0.16155,
    "h": 118
  },
  "luminance": 0.52906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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