#B5B554#B5B554

#B5B554 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.120 H 109.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B5B554
RGBrgb(181, 181, 84)
HSLhsl(60, 40%, 52%)
HSVhsv(60, 54%, 71%)
CMYKcmyk(0%, 0%, 53.6%, 29%)
CIE-LABlab(71.90, -13.21, 48.66)
CIE-LCHlch(71.90, 50.42, 105.19°)
OKLaboklab(75.32% -0.0391 0.1137)
OKLCHoklch(75.32% 0.12 109)
XYZxyz(37.1811, 43.5125, 14.8259)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B554 #5454B5
analogous
#B58554 #B5B554 #85B554
triadic
#B5B554 #54B5B5 #B554B5
tetradic
#B5B554 #54B585 #5454B5 #B55485
square
#B5B554 #54B585 #5454B5 #B55485
split-complementary
#B5B554 #5485B5 #8554B5
monochromatic
#64642B #8E8E3E #B5B554 #C7C77F #DADAA9

Accessibility & contrast

On white

2.16
#B5B554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B5B554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B554
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B554#FFFFFF#000000##000000
##B5B5541.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4A
Deuteranopia (green-blind)
#C3B259
Tritanopia (blue-blind)
#C0AB9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b554;
/* rgb */ color: rgb(181, 181, 84);
/* oklch */ color: oklch(75.3% 0.120 109.0);
Tailwind
colors: {
  custom: {
    50: '#cdcb87',
    500: '#b5b554',
    950: '#000000',
  },
}
SCSS
$custom: #b5b554;
$custom-light: #cdcb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b554",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.12022,
    "h": 109
  },
  "luminance": 0.43512
}

Semantic roles & 50–950 ramp

primary
#B5B554
secondary
#9D9DC8
accent
#58CF58
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B554

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

Preview Lab → · Contrast checker → · Palette generator →

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