#B5C531#B5C531

#B5C531 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.164 H 115.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B5C531
RGBrgb(181, 197, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 77%)
CMYKcmyk(8.1%, 0%, 75.1%, 22.7%)
CIE-LABlab(76.06, -23.42, 67.10)
CIE-LCHlch(76.06, 71.07, 109.24°)
OKLaboklab(78.56% -0.0712 0.1476)
OKLCHoklch(78.56% 0.164 115.8)
XYZxyz(39.5778, 49.9786, 10.4671)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C531 #4131C5
analogous
#C58B31 #B5C531 #6BC531
triadic
#B5C531 #31B5C5 #C531B5
tetradic
#B5C531 #31C58B #4131C5 #C5316B
square
#B5C531 #31C58B #4131C5 #C5316B
split-complementary
#B5C531 #316BC5 #8B31C5
monochromatic
#5B6319 #889425 #B5C531 #C9D75D #DAE38E

Accessibility & contrast

On white

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

On black

11.00
#B5C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C531
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C531#FFFFFF#000000##000000
##B5C5311.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c531;
/* rgb */ color: rgb(181, 197, 49);
/* oklch */ color: oklch(78.6% 0.164 115.8);
Tailwind
colors: {
  custom: {
    50: '#cfd675',
    500: '#b5c531',
    950: '#000000',
  },
}
SCSS
$custom: #b5c531;
$custom-light: #cfd675;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c531",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 66.486,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78557,
    "c": 0.16388,
    "h": 115.8
  },
  "luminance": 0.49978
}

Semantic roles & 50–950 ramp

primary
#B5C531
secondary
#8C85CD
accent
#44E356
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C531

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

Preview Lab → · Contrast checker → · Palette generator →

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