#B5CB38#B5CB38

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

Color values

HEX#B5CB38
RGBrgb(181, 203, 56)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(10.8%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.77, -26.00, 66.40)
CIE-LCHlch(77.77, 71.31, 111.38°)
OKLaboklab(79.95% -0.0778 0.1473)
OKLCHoklch(79.95% 0.167 117.8)
XYZxyz(41.1267, 52.8216, 11.7696)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB38 #4E38CB
analogous
#CB9838 #B5CB38 #6BCB38
triadic
#B5CB38 #38B5CB #CB38B5
tetradic
#B5CB38 #38CB98 #4E38CB #CB386B
square
#B5CB38 #38CB98 #4E38CB #CB386B
split-complementary
#B5CB38 #386BCB #9838CB
monochromatic
#606C1C #8B9D29 #B5CB38 #C7D869 #D9E499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CB38#FFFFFF#000000##000000
##B5CB381.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)
#D9C01B
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb38;
/* rgb */ color: rgb(181, 203, 56);
/* oklch */ color: oklch(79.9% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#cfda79',
    500: '#b5cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb38;
$custom-light: #cfda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb38",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 68.98,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79946,
    "c": 0.16657,
    "h": 117.8
  },
  "luminance": 0.52821
}

Semantic roles & 50–950 ramp

primary
#B5CB38
secondary
#3C3176
accent
#46E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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