#B5C529#B5C529

#B5C529 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.168 H 115.7°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#B5C529
RGBrgb(181, 197, 41)
HSLhsl(66, 66%, 47%)
HSVhsv(66, 79%, 77%)
CMYKcmyk(8.1%, 0%, 79.2%, 22.7%)
CIE-LABlab(76.02, -23.74, 69.47)
CIE-LCHlch(76.02, 73.41, 108.87°)
OKLaboklab(78.52% -0.0727 0.1512)
OKLCHoklch(78.52% 0.168 115.7)
XYZxyz(39.4237, 49.9170, 9.6555)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C529 #3929C5
analogous
#C58729 #B5C529 #67C529
triadic
#B5C529 #29B5C5 #C529B5
tetradic
#B5C529 #29C587 #3929C5 #C52967
square
#B5C529 #29C587 #3929C5 #C52967
split-complementary
#B5C529 #2967C5 #8729C5
monochromatic
#586014 #86921E #B5C529 #CDDB51 #DBE583

Accessibility & contrast

On white

1.91
#B5C529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#B5C529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C529
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C529#FFFFFF#000000##000000
##B5C5291.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D2BD38
Tritanopia (blue-blind)
#C1B9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b5c529;
/* rgb */ color: rgb(181, 197, 41);
/* oklch */ color: oklch(78.5% 0.168 115.7);
Tailwind
colors: {
  custom: {
    50: '#cfd671',
    500: '#b5c529',
    950: '#000000',
  },
}
SCSS
$custom: #b5c529;
$custom-light: #cfd671;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c529",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 41
  },
  "hsl": {
    "h": 66.154,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78515,
    "c": 0.16783,
    "h": 115.7
  },
  "luminance": 0.49916
}

Semantic roles & 50–950 ramp

primary
#B5C529
secondary
#847CCE
accent
#3FE851
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C529

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

Preview Lab → · Contrast checker → · Palette generator →

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