#B5B833#B5B833

#B5B833 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.149 H 110.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B5B833
RGBrgb(181, 184, 51)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.6%, 0%, 72.3%, 27.8%)
CIE-LABlab(72.46, -16.88, 63.03)
CIE-LCHlch(72.46, 65.25, 104.99°)
OKLaboklab(75.68% -0.0529 0.1393)
OKLCHoklch(75.68% 0.149 110.8)
XYZxyz(36.7953, 44.3447, 9.7524)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B833 #3633B8
analogous
#B87833 #B5B833 #72B833
triadic
#B5B833 #33B5B8 #B833B5
tetradic
#B5B833 #33B878 #3633B8 #B83372
square
#B5B833 #33B878 #3633B8 #B83372
split-complementary
#B5B833 #3372B8 #7833B8
monochromatic
#575818 #868826 #B5B833 #CED158 #DCDE88

Accessibility & contrast

On white

2.13
#B5B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B5B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B833
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B833#FFFFFF#000000##000000
##B5B8331.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C8B33D
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b833;
/* rgb */ color: rgb(181, 184, 51);
/* oklch */ color: oklch(75.7% 0.149 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd74',
    500: '#b5b833',
    950: '#000000',
  },
}
SCSS
$custom: #b5b833;
$custom-light: #cfcd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b833",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 61.353,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75678,
    "c": 0.14903,
    "h": 110.8
  },
  "luminance": 0.44344
}

Semantic roles & 50–950 ramp

primary
#B5B833
secondary
#817FC8
accent
#48E04B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B833

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

Preview Lab → · Contrast checker → · Palette generator →

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