#B5B736#B5B736

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

Color values

HEX#B5B736
RGBrgb(181, 183, 54)
HSLhsl(61, 54%, 46%)
HSVhsv(61, 70%, 72%)
CMYKcmyk(1.1%, 0%, 70.5%, 28.2%)
CIE-LABlab(72.20, -16.22, 61.70)
CIE-LCHlch(72.20, 63.80, 104.73°)
OKLaboklab(75.48% -0.0508 0.1371)
OKLCHoklch(75.48% 0.146 110.3)
XYZxyz(36.6566, 43.9581, 10.0431)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B736 #3836B7
analogous
#B77936 #B5B736 #75B736
triadic
#B5B736 #36B5B7 #B736B5
tetradic
#B5B736 #36B779 #3836B7 #B73675
square
#B5B736 #36B779 #3836B7 #B73675
split-complementary
#B5B736 #3675B7 #7936B7
monochromatic
#58581A #868828 #B5B736 #CDCF5B #DBDD8B

Accessibility & contrast

On white

2.14
#B5B736 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B736#FFFFFF#000000##000000
##B5B7361.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF20
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b736;
/* rgb */ color: rgb(181, 183, 54);
/* oklch */ color: oklch(75.5% 0.146 110.3);
Tailwind
colors: {
  custom: {
    50: '#cfcc76',
    500: '#b5b736',
    950: '#000000',
  },
}
SCSS
$custom: #b5b736;
$custom-light: #cfcc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b736",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 54
  },
  "hsl": {
    "h": 60.93,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75477,
    "c": 0.14616,
    "h": 110.3
  },
  "luminance": 0.43957
}

Semantic roles & 50–950 ramp

primary
#B5B736
secondary
#8382C7
accent
#4ADE4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B736

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

Preview Lab → · Contrast checker → · Palette generator →

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