#B5B645#B5B645

#B5B645 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.4% C 0.134 H 109.7°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B5B645
RGBrgb(181, 182, 69)
HSLhsl(61, 45%, 49%)
HSVhsv(61, 62%, 71%)
CMYKcmyk(0.5%, 0%, 62.1%, 28.6%)
CIE-LABlab(72.03, -14.84, 55.56)
CIE-LCHlch(72.03, 57.51, 104.95°)
OKLaboklab(75.38% -0.0453 0.1265)
OKLCHoklch(75.38% 0.134 109.7)
XYZxyz(36.8593, 43.7103, 12.1244)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B645 #4645B6
analogous
#B67F45 #B5B645 #7DB645
triadic
#B5B645 #45B5B6 #B645B5
tetradic
#B5B645 #45B67F #4645B6 #B6457D
square
#B5B645 #45B67F #4645B6 #B6457D
split-complementary
#B5B645 #457DB6 #7F45B6
monochromatic
#5D5D23 #898A34 #B5B645 #C8C970 #D9D99C

Accessibility & contrast

On white

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

On black

9.74
#B5B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B645
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B645#FFFFFF#000000##000000
##B5B6451.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C1AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b645;
/* rgb */ color: rgb(181, 182, 69);
/* oklch */ color: oklch(75.4% 0.134 109.7);
Tailwind
colors: {
  custom: {
    50: '#cecb7e',
    500: '#b5b645',
    950: '#000000',
  },
}
SCSS
$custom: #b5b645;
$custom-light: #cecb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b645",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 60.531,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7538,
    "c": 0.13439,
    "h": 109.7
  },
  "luminance": 0.43709
}

Semantic roles & 50–950 ramp

primary
#B5B645
secondary
#9291C6
accent
#53D554
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B645

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

Preview Lab → · Contrast checker → · Palette generator →

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