#B5CB45#B5CB45

#B5CB45 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.0% C 0.158 H 118.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#B5CB45
RGBrgb(181, 203, 69)
HSLhsl(70, 56%, 53%)
HSVhsv(70, 66%, 80%)
CMYKcmyk(10.8%, 0%, 66%, 20.4%)
CIE-LABlab(77.85, -25.27, 61.68)
CIE-LCHlch(77.85, 66.65, 112.27°)
OKLaboklab(80.04% -0.0745 0.1394)
OKLCHoklch(80.04% 0.158 118.1)
XYZxyz(41.4870, 52.9657, 13.6669)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB45 #5B45CB
analogous
#CB9E45 #B5CB45 #72CB45
triadic
#B5CB45 #45B5CB #CB45B5
tetradic
#B5CB45 #45CB9E #5B45CB #CB4572
square
#B5CB45 #45CB9E #5B45CB #CB4572
split-complementary
#B5CB45 #4572CB #9E45CB
monochromatic
#677521 #91A52E #B5CB45 #C8D875 #DBE6A5

Accessibility & contrast

On white

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

On black

11.59
#B5CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB45
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB45#FFFFFF#000000##000000
##B5CB451.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#BFC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb45;
/* rgb */ color: rgb(181, 203, 69);
/* oklch */ color: oklch(80.0% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#ceda80',
    500: '#b5cb45',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb45;
$custom-light: #ceda80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb45",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 69.851,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80042,
    "c": 0.15809,
    "h": 118.1
  },
  "luminance": 0.52965
}

Semantic roles & 50–950 ramp

primary
#B5CB45
secondary
#42377E
accent
#48E061
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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