#B5C754#B5C754

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

Color values

HEX#B5C754
RGBrgb(181, 199, 84)
HSLhsl(69, 51%, 55%)
HSVhsv(69, 58%, 78%)
CMYKcmyk(9%, 0%, 57.8%, 22%)
CIE-LABlab(76.87, -22.25, 54.30)
CIE-LCHlch(76.87, 58.68, 112.28°)
OKLaboklab(79.29% -0.0646 0.1258)
OKLCHoklch(79.29% 0.141 117.2)
XYZxyz(41.0804, 51.3111, 16.1257)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C754 #6654C7
analogous
#C79F54 #B5C754 #7BC754
triadic
#B5C754 #54B5C7 #C754B5
tetradic
#B5C754 #54C79F #6654C7 #C7547B
square
#B5C754 #54C79F #6654C7 #C7547B
split-complementary
#B5C754 #547BC7 #9F54C7
monochromatic
#6C7928 #95A737 #B5C754 #C9D682 #DDE5B0

Accessibility & contrast

On white

1.86
#B5C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C754#FFFFFF#000000##000000
##B5C7541.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c754;
/* rgb */ color: rgb(181, 199, 84);
/* oklch */ color: oklch(79.3% 0.141 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd888',
    500: '#b5c754',
    950: '#000000',
  },
}
SCSS
$custom: #b5c754;
$custom-light: #cdd888;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c754",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 69.391,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79289,
    "c": 0.14142,
    "h": 117.2
  },
  "luminance": 0.51311
}

Semantic roles & 50–950 ramp

primary
#B5C754
secondary
#483E82
accent
#4EDA64
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B5C754

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

Preview Lab → · Contrast checker → · Palette generator →

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