#B5B733#B5B733

#B5B733 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.5% C 0.148 H 110.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B5B733
RGBrgb(181, 183, 51)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.1%, 0%, 72.1%, 28.2%)
CIE-LABlab(72.18, -16.37, 62.77)
CIE-LCHlch(72.18, 64.87, 104.62°)
OKLaboklab(75.46% -0.0515 0.1388)
OKLCHoklch(75.46% 0.148 110.3)
XYZxyz(36.5884, 43.9308, 9.6835)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B733 #3533B7
analogous
#B77733 #B5B733 #73B733
triadic
#B5B733 #33B5B7 #B733B5
tetradic
#B5B733 #33B777 #3533B7 #B73373
square
#B5B733 #33B777 #3533B7 #B73373
split-complementary
#B5B733 #3373B7 #7733B7
monochromatic
#565718 #868726 #B5B733 #CED057 #DCDE87

Accessibility & contrast

On white

2.15
#B5B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B5B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B733
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B733#FFFFFF#000000##000000
##B5B7331.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#C2AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b733;
/* rgb */ color: rgb(181, 183, 51);
/* oklch */ color: oklch(75.5% 0.148 110.3);
Tailwind
colors: {
  custom: {
    50: '#cfcc74',
    500: '#b5b733',
    950: '#000000',
  },
}
SCSS
$custom: #b5b733;
$custom-light: #cfcc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b733",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 60.909,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.14802,
    "h": 110.3
  },
  "luminance": 0.4393
}

Semantic roles & 50–950 ramp

primary
#B5B733
secondary
#807FC7
accent
#48E04A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B733

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

Preview Lab → · Contrast checker → · Palette generator →

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