#B5B341#B5B341

#B5B341 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.134 H 108.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B5B341
RGBrgb(181, 179, 65)
HSLhsl(59, 47%, 48%)
HSVhsv(59, 64%, 71%)
CMYKcmyk(0%, 1.1%, 64.1%, 29%)
CIE-LABlab(71.18, -13.56, 56.35)
CIE-LCHlch(71.18, 57.96, 103.53°)
OKLaboklab(74.69% -0.0422 0.1276)
OKLCHoklch(74.69% 0.134 108.3)
XYZxyz(36.1315, 42.4467, 11.2897)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B341 #4143B5
analogous
#B57941 #B5B341 #7DB541
triadic
#B5B341 #41B5B3 #B341B5
tetradic
#B5B341 #41B579 #4143B5 #B5417D
square
#B5B341 #41B579 #4143B5 #B5417D
split-complementary
#B5B341 #417DB5 #7941B5
monochromatic
#5B5A21 #888631 #B5B341 #C9C86A #DAD897

Accessibility & contrast

On white

2.21
#B5B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B5B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B341
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B341#FFFFFF#000000##000000
##B5B3411.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC32
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#C1A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b341;
/* rgb */ color: rgb(181, 179, 65);
/* oklch */ color: oklch(74.7% 0.134 108.3);
Tailwind
colors: {
  custom: {
    50: '#cec97b',
    500: '#b5b341',
    950: '#000000',
  },
}
SCSS
$custom: #b5b341;
$custom-light: #cec97b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b341",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 58.966,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.13436,
    "h": 108.3
  },
  "luminance": 0.42446
}

Semantic roles & 50–950 ramp

primary
#B5B341
secondary
#8C8DC5
accent
#53D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B341

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

Preview Lab → · Contrast checker → · Palette generator →

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