#B5C752#B5C752

#B5C752 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.3% C 0.143 H 117.1°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#B5C752
RGBrgb(181, 199, 82)
HSLhsl(69, 51%, 55%)
HSVhsv(69, 59%, 78%)
CMYKcmyk(9%, 0%, 58.8%, 22%)
CIE-LABlab(76.85, -22.41, 55.17)
CIE-LCHlch(76.85, 59.54, 112.11°)
OKLaboklab(79.27% -0.0653 0.1274)
OKLCHoklch(79.27% 0.143 117.1)
XYZxyz(41.0032, 51.2802, 15.7190)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C752 #6452C7
analogous
#C79F52 #B5C752 #7AC752
triadic
#B5C752 #52B5C7 #C752B5
tetradic
#B5C752 #52C79F #6452C7 #C7527A
square
#B5C752 #52C79F #6452C7 #C7527A
split-complementary
#B5C752 #527AC7 #9F52C7
monochromatic
#6B7827 #95A636 #B5C752 #C9D680 #DDE5AE

Accessibility & contrast

On white

1.87
#B5C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#B5C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C752
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C752#FFFFFF#000000##000000
##B5C7521.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#BFBDAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c752;
/* rgb */ color: rgb(181, 199, 82);
/* oklch */ color: oklch(79.3% 0.143 117.1);
Tailwind
colors: {
  custom: {
    50: '#ced887',
    500: '#b5c752',
    950: '#000000',
  },
}
SCSS
$custom: #b5c752;
$custom-light: #ced887;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c752",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 69.231,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79268,
    "c": 0.14313,
    "h": 117.1
  },
  "luminance": 0.5128
}

Semantic roles & 50–950 ramp

primary
#B5C752
secondary
#473D80
accent
#4DDB63
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B5C752

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

Preview Lab → · Contrast checker → · Palette generator →

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