#B5CB34#B5CB34

#B5CB34 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.169 H 117.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B5CB34
RGBrgb(181, 203, 52)
HSLhsl(69, 59%, 50%)
HSVhsv(69, 74%, 80%)
CMYKcmyk(10.8%, 0%, 74.4%, 20.4%)
CIE-LABlab(77.75, -26.19, 67.72)
CIE-LCHlch(77.75, 72.60, 111.15°)
OKLaboklab(79.92% -0.0786 0.1494)
OKLCHoklch(79.92% 0.169 117.8)
XYZxyz(41.0328, 52.7840, 11.2749)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB34 #4A34CB
analogous
#CB9634 #B5CB34 #69CB34
triadic
#B5CB34 #34B5CB #CB34B5
tetradic
#B5CB34 #34CB96 #4A34CB #CB3469
square
#B5CB34 #34CB96 #4A34CB #CB3469
split-complementary
#B5CB34 #3469CB #9634CB
monochromatic
#5E6A1B #8A9A28 #B5CB34 #C7D765 #D9E495

Accessibility & contrast

On white

1.82
#B5CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B5CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB34
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB34#FFFFFF#000000##000000
##B5CB341.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C011
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#C0C0AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb34;
/* rgb */ color: rgb(181, 203, 52);
/* oklch */ color: oklch(79.9% 0.169 117.8);
Tailwind
colors: {
  custom: {
    50: '#cfda77',
    500: '#b5cb34',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb34;
$custom-light: #cfda77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb34",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 68.742,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.79921,
    "c": 0.16884,
    "h": 117.8
  },
  "luminance": 0.52784
}

Semantic roles & 50–950 ramp

primary
#B5CB34
secondary
#3A3073
accent
#45E25C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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