#B5C733#B5C733

#B5C733 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.0% C 0.165 H 116.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#B5C733
RGBrgb(181, 199, 51)
HSLhsl(67, 59%, 49%)
HSVhsv(67, 74%, 78%)
CMYKcmyk(9%, 0%, 74.4%, 22%)
CIE-LABlab(76.62, -24.31, 66.98)
CIE-LCHlch(76.62, 71.26, 109.94°)
OKLaboklab(79.02% -0.0735 0.1477)
OKLCHoklch(79.02% 0.165 116.5)
XYZxyz(40.0781, 50.9102, 10.8467)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C733 #4533C7
analogous
#C78F33 #B5C733 #6BC733
triadic
#B5C733 #33B5C7 #C733B5
tetradic
#B5C733 #33C78F #4533C7 #C7336B
square
#B5C733 #33C78F #4533C7 #C7336B
split-complementary
#B5C733 #336BC7 #8F33C7
monochromatic
#5C661A #899627 #B5C733 #C8D661 #D9E391

Accessibility & contrast

On white

1.88
#B5C733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#B5C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C733
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C733#FFFFFF#000000##000000
##B5C7331.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC11
Deuteranopia (green-blind)
#D3BE40
Tritanopia (blue-blind)
#C1BCAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c733;
/* rgb */ color: rgb(181, 199, 51);
/* oklch */ color: oklch(79.0% 0.165 116.5);
Tailwind
colors: {
  custom: {
    50: '#cfd776',
    500: '#b5c733',
    950: '#000000',
  },
}
SCSS
$custom: #b5c733;
$custom-light: #cfd776;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c733",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 67.297,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.16498,
    "h": 116.5
  },
  "luminance": 0.5091
}

Semantic roles & 50–950 ramp

primary
#B5C733
secondary
#362E70
accent
#45E259
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C733

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

Preview Lab → · Contrast checker → · Palette generator →

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