#B5B545#B5B545

#B5B545 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.133 H 109.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B5B545
RGBrgb(181, 181, 69)
HSLhsl(60, 45%, 49%)
HSVhsv(60, 62%, 71%)
CMYKcmyk(0%, 0%, 61.9%, 29%)
CIE-LABlab(71.76, -14.33, 55.27)
CIE-LCHlch(71.76, 57.10, 104.53°)
OKLaboklab(75.16% -0.0439 0.1259)
OKLCHoklch(75.16% 0.133 109.2)
XYZxyz(36.6552, 43.3022, 12.0563)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B545 #4545B5
analogous
#B57D45 #B5B545 #7DB545
triadic
#B5B545 #45B5B5 #B545B5
tetradic
#B5B545 #45B57D #4545B5 #B5457D
square
#B5B545 #45B57D #4545B5 #B5457D
split-complementary
#B5B545 #457DB5 #7D45B5
monochromatic
#5C5C23 #898934 #B5B545 #C8C86F #D9D99B

Accessibility & contrast

On white

2.17
#B5B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B5B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B545
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B545#FFFFFF#000000##000000
##B5B5451.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C4B24C
Tritanopia (blue-blind)
#C1AA9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b545;
/* rgb */ color: rgb(181, 181, 69);
/* oklch */ color: oklch(75.2% 0.133 109.2);
Tailwind
colors: {
  custom: {
    50: '#cecb7e',
    500: '#b5b545',
    950: '#000000',
  },
}
SCSS
$custom: #b5b545;
$custom-light: #cecb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b545",
  "rgb": {
    "r": 181,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.13332,
    "h": 109.2
  },
  "luminance": 0.43301
}

Semantic roles & 50–950 ramp

primary
#B5B545
secondary
#9191C5
accent
#53D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B545

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

Preview Lab → · Contrast checker → · Palette generator →

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