#B5B729#B5B729

#B5B729 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.153 H 110.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B5B729
RGBrgb(181, 183, 41)
HSLhsl(61, 63%, 44%)
HSVhsv(61, 78%, 72%)
CMYKcmyk(1.1%, 0%, 77.6%, 28.2%)
CIE-LABlab(72.13, -16.80, 65.99)
CIE-LCHlch(72.13, 68.09, 104.28°)
OKLaboklab(75.4% -0.0535 0.1438)
OKLCHoklch(75.4% 0.153 110.4)
XYZxyz(36.3911, 43.8519, 8.6447)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B729 #2B29B7
analogous
#B77229 #B5B729 #6EB729
triadic
#B5B729 #29B5B7 #B729B5
tetradic
#B5B729 #29B772 #2B29B7 #B7296E
square
#B5B729 #29B772 #2B29B7 #B7296E
split-complementary
#B5B729 #296EB7 #7229B7
monochromatic
#525313 #84851E #B5B729 #D4D647 #E0E179

Accessibility & contrast

On white

2.15
#B5B729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B5B729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B729
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B729#FFFFFF#000000##000000
##B5B7291.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B336
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b729;
/* rgb */ color: rgb(181, 183, 41);
/* oklch */ color: oklch(75.4% 0.153 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc6f',
    500: '#b5b729',
    950: '#000000',
  },
}
SCSS
$custom: #b5b729;
$custom-light: #cfcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b729",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 41
  },
  "hsl": {
    "h": 60.845,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.15345,
    "h": 110.4
  },
  "luminance": 0.43851
}

Semantic roles & 50–950 ramp

primary
#B5B729
secondary
#7473C9
accent
#41E644
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B729

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

Preview Lab → · Contrast checker → · Palette generator →

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