#B5B834#B5B834

#B5B834 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#B5B834
RGBrgb(181, 184, 52)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.6%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.46, -16.83, 62.68)
CIE-LCHlch(72.46, 64.90, 105.03°)
OKLaboklab(75.68% -0.0526 0.1388)
OKLCHoklch(75.68% 0.148 110.8)
XYZxyz(36.8176, 44.3537, 9.8698)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B834 #3734B8
analogous
#B87934 #B5B834 #73B834
triadic
#B5B834 #34B5B8 #B834B5
tetradic
#B5B834 #34B879 #3734B8 #B83473
square
#B5B834 #34B879 #3734B8 #B83473
split-complementary
#B5B834 #3473B8 #7934B8
monochromatic
#575919 #868827 #B5B834 #CDD059 #DCDE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B834#FFFFFF#000000##000000
##B5B8341.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)
#C6B01B
Deuteranopia (green-blind)
#C8B33E
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b834;
/* rgb */ color: rgb(181, 184, 52);
/* oklch */ color: oklch(75.7% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd75',
    500: '#b5b834',
    950: '#000000',
  },
}
SCSS
$custom: #b5b834;
$custom-light: #cfcd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b834",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 61.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75684,
    "c": 0.14843,
    "h": 110.8
  },
  "luminance": 0.44353
}

Semantic roles & 50–950 ramp

primary
#B5B834
secondary
#8280C8
accent
#49DF4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B834

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

Preview Lab → · Contrast checker → · Palette generator →

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