#B5C548#B5C548

#B5C548 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.149 H 116.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#B5C548
RGBrgb(181, 197, 72)
HSLhsl(68, 52%, 53%)
HSVhsv(68, 63%, 77%)
CMYKcmyk(8.1%, 0%, 63.5%, 22.7%)
CIE-LABlab(76.21, -22.15, 58.74)
CIE-LCHlch(76.21, 62.78, 110.66°)
OKLaboklab(78.73% -0.0656 0.1337)
OKLCHoklch(78.73% 0.149 116.1)
XYZxyz(40.1929, 50.2247, 13.7066)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C548 #5848C5
analogous
#C59648 #B5C548 #76C548
triadic
#B5C548 #48B5C5 #C548B5
tetradic
#B5C548 #48C596 #5848C5 #C54876
square
#B5C548 #48C596 #5848C5 #C54876
split-complementary
#B5C548 #4876C5 #9648C5
monochromatic
#666F23 #909E32 #B5C548 #C8D476 #DBE2A5

Accessibility & contrast

On white

1.90
#B5C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#B5C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C548
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C548#FFFFFF#000000##000000
##B5C5481.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#C0BAAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c548;
/* rgb */ color: rgb(181, 197, 72);
/* oklch */ color: oklch(78.7% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#ced681',
    500: '#b5c548',
    950: '#000000',
  },
}
SCSS
$custom: #b5c548;
$custom-light: #ced681;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c548",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 67.68,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78726,
    "c": 0.14887,
    "h": 116.1
  },
  "luminance": 0.50224
}

Semantic roles & 50–950 ramp

primary
#B5C548
secondary
#413879
accent
#4CDB5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5C548

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

Preview Lab → · Contrast checker → · Palette generator →

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