#B5B048#B5B048

#B5B048 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.126 H 106.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B5B048
RGBrgb(181, 176, 72)
HSLhsl(57, 43%, 50%)
HSVhsv(57, 60%, 71%)
CMYKcmyk(0%, 2.8%, 60.2%, 29%)
CIE-LABlab(70.42, -11.55, 52.50)
CIE-LCHlch(70.42, 53.76, 102.41°)
OKLaboklab(74.1% -0.0357 0.1205)
OKLCHoklch(74.1% 0.126 106.5)
XYZxyz(35.7523, 41.3434, 12.2264)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B048 #484DB5
analogous
#B57A48 #B5B048 #83B548
triadic
#B5B048 #48B5B0 #B048B5
tetradic
#B5B048 #48B57A #484DB5 #B54883
square
#B5B048 #48B57A #484DB5 #B54883
split-complementary
#B5B048 #4883B5 #7A48B5
monochromatic
#5D5B25 #898537 #B5B048 #C7C373 #D9D69F

Accessibility & contrast

On white

2.27
#B5B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B5B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B048
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B048#FFFFFF#000000##000000
##B5B0481.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C0AE4E
Tritanopia (blue-blind)
#C1A59A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b048;
/* rgb */ color: rgb(181, 176, 72);
/* oklch */ color: oklch(74.1% 0.126 106.5);
Tailwind
colors: {
  custom: {
    50: '#cec77f',
    500: '#b5b048',
    950: '#000000',
  },
}
SCSS
$custom: #b5b048;
$custom-light: #cec77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b048",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 57.248,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74098,
    "c": 0.12563,
    "h": 106.5
  },
  "luminance": 0.41342
}

Semantic roles & 50–950 ramp

primary
#B5B048
secondary
#9396C5
accent
#5BD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B048

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

Preview Lab → · Contrast checker → · Palette generator →

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