#B5B836#B5B836

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

Color values

HEX#B5B836
RGBrgb(181, 184, 54)
HSLhsl(61, 55%, 47%)
HSVhsv(61, 71%, 72%)
CMYKcmyk(1.6%, 0%, 70.7%, 27.8%)
CIE-LABlab(72.48, -16.73, 61.97)
CIE-LCHlch(72.48, 64.19, 105.11°)
OKLaboklab(75.7% -0.0522 0.1376)
OKLCHoklch(75.7% 0.147 110.8)
XYZxyz(36.8636, 44.3721, 10.1121)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B836 #3936B8
analogous
#B87A36 #B5B836 #74B836
triadic
#B5B836 #36B5B8 #B836B5
tetradic
#B5B836 #36B87A #3936B8 #B83674
square
#B5B836 #36B87A #3936B8 #B83674
split-complementary
#B5B836 #3674B8 #7A36B8
monochromatic
#58591A #868928 #B5B836 #CDCF5C #DBDD8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B836#FFFFFF#000000##000000
##B5B8361.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)
#C6B01F
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b836;
/* rgb */ color: rgb(181, 184, 54);
/* oklch */ color: oklch(75.7% 0.147 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd76',
    500: '#b5b836',
    950: '#000000',
  },
}
SCSS
$custom: #b5b836;
$custom-light: #cfcd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b836",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 61.385,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75698,
    "c": 0.14719,
    "h": 110.8
  },
  "luminance": 0.44371
}

Semantic roles & 50–950 ramp

primary
#B5B836
secondary
#8482C7
accent
#4ADE4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B836

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

Preview Lab → · Contrast checker → · Palette generator →

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