#B5C048#B5C048

#B5C048 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.143 H 114.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B5C048
RGBrgb(181, 192, 72)
HSLhsl(66, 49%, 52%)
HSVhsv(66, 63%, 75%)
CMYKcmyk(5.7%, 0%, 62.5%, 24.7%)
CIE-LABlab(74.82, -19.68, 57.27)
CIE-LCHlch(74.82, 60.55, 108.96°)
OKLaboklab(77.61% -0.0586 0.1305)
OKLCHoklch(77.61% 0.143 114.2)
XYZxyz(39.0763, 47.9916, 13.3344)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C048 #5348C0
analogous
#C08F48 #B5C048 #79C048
triadic
#B5C048 #48B5C0 #C048B5
tetradic
#B5C048 #48C08F #5348C0 #C04879
square
#B5C048 #48C08F #5348C0 #C04879
split-complementary
#B5C048 #4879C0 #8F48C0
monochromatic
#636924 #8E9734 #B5C048 #C7D076 #DADFA3

Accessibility & contrast

On white

1.98
#B5C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B5C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C048
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C048#FFFFFF#000000##000000
##B5C0481.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#C0B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c048;
/* rgb */ color: rgb(181, 192, 72);
/* oklch */ color: oklch(77.6% 0.143 114.2);
Tailwind
colors: {
  custom: {
    50: '#ced280',
    500: '#b5c048',
    950: '#000000',
  },
}
SCSS
$custom: #b5c048;
$custom-light: #ced280;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c048",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 65.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77614,
    "c": 0.1431,
    "h": 114.2
  },
  "luminance": 0.47991
}

Semantic roles & 50–950 ramp

primary
#B5C048
secondary
#9C98CC
accent
#4FD85C
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B5C048

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

Preview Lab → · Contrast checker → · Palette generator →

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