#B5C729#B5C729

#B5C729 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.170 H 116.3°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#B5C729
RGBrgb(181, 199, 41)
HSLhsl(67, 66%, 47%)
HSVhsv(67, 79%, 78%)
CMYKcmyk(9%, 0%, 79.4%, 22%)
CIE-LABlab(76.58, -24.72, 69.96)
CIE-LCHlch(76.58, 74.20, 109.46°)
OKLaboklab(78.96% -0.0754 0.1523)
OKLCHoklch(78.96% 0.17 116.3)
XYZxyz(39.8808, 50.8313, 9.8079)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C729 #3B29C7
analogous
#C78A29 #B5C729 #66C729
triadic
#B5C729 #29B5C7 #C729B5
tetradic
#B5C729 #29C78A #3B29C7 #C72966
square
#B5C729 #29C78A #3B29C7 #C72966
split-complementary
#B5C729 #2966C7 #8A29C7
monochromatic
#596214 #87941F #B5C729 #CCDB52 #DBE685

Accessibility & contrast

On white

1.88
#B5C729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#B5C729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C729
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C729#FFFFFF#000000##000000
##B5C7291.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#C1BBAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c729;
/* rgb */ color: rgb(181, 199, 41);
/* oklch */ color: oklch(79.0% 0.170 116.3);
Tailwind
colors: {
  custom: {
    50: '#cfd771',
    500: '#b5c729',
    950: '#000000',
  },
}
SCSS
$custom: #b5c729;
$custom-light: #cfd771;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c729",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 41
  },
  "hsl": {
    "h": 66.835,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78963,
    "c": 0.16996,
    "h": 116.3
  },
  "luminance": 0.50831
}

Semantic roles & 50–950 ramp

primary
#B5C729
secondary
#30286C
accent
#3FE952
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C729

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

Preview Lab → · Contrast checker → · Palette generator →

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