#B5B835#B5B835

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

Color values

HEX#B5B835
RGBrgb(181, 184, 53)
HSLhsl(61, 55%, 46%)
HSVhsv(61, 71%, 72%)
CMYKcmyk(1.6%, 0%, 71.2%, 27.8%)
CIE-LABlab(72.47, -16.78, 62.33)
CIE-LCHlch(72.47, 64.55, 105.07°)
OKLaboklab(75.69% -0.0524 0.1382)
OKLCHoklch(75.69% 0.148 110.8)
XYZxyz(36.8404, 44.3628, 9.9897)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B835 #3835B8
analogous
#B87A35 #B5B835 #74B835
triadic
#B5B835 #35B5B8 #B835B5
tetradic
#B5B835 #35B87A #3835B8 #B83574
square
#B5B835 #35B87A #3835B8 #B83574
split-complementary
#B5B835 #3574B8 #7A35B8
monochromatic
#58591A #868827 #B5B835 #CDD05B #DBDD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B835#FFFFFF#000000##000000
##B5B8351.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)
#C6B01D
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#C2AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b835;
/* rgb */ color: rgb(181, 184, 53);
/* oklch */ color: oklch(75.7% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd75',
    500: '#b5b835',
    950: '#000000',
  },
}
SCSS
$custom: #b5b835;
$custom-light: #cfcd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b835",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 61.374,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75691,
    "c": 0.14782,
    "h": 110.8
  },
  "luminance": 0.44362
}

Semantic roles & 50–950 ramp

primary
#B5B835
secondary
#8381C7
accent
#49DF4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B835

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

Preview Lab → · Contrast checker → · Palette generator →

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