#B4C526#B4C526

#B4C526 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.4% C 0.169 H 116.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#B4C526
RGBrgb(180, 197, 38)
HSLhsl(66, 68%, 46%)
HSVhsv(66, 81%, 77%)
CMYKcmyk(8.6%, 0%, 80.7%, 22.7%)
CIE-LABlab(75.93, -24.27, 70.17)
CIE-LCHlch(75.93, 74.25, 109.08°)
OKLaboklab(78.42% -0.0744 0.1523)
OKLCHoklch(78.42% 0.169 116)
XYZxyz(39.1396, 49.7764, 9.3793)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C526 #3726C5
analogous
#C58626 #B4C526 #64C526
triadic
#B4C526 #26B4C5 #C526B4
tetradic
#B4C526 #26C586 #3726C5 #C52664
square
#B4C526 #26C586 #3726C5 #C52664
split-complementary
#B4C526 #2664C5 #8626C5
monochromatic
#565E12 #85921C #B4C526 #CDDC4C #DBE67F

Accessibility & contrast

On white

1.92
#B4C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#B4C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C526
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C526#FFFFFF#000000##000000
##B4C5261.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D2BC36
Tritanopia (blue-blind)
#C0B9A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b4c526;
/* rgb */ color: rgb(180, 197, 38);
/* oklch */ color: oklch(78.4% 0.169 116.0);
Tailwind
colors: {
  custom: {
    50: '#ced670',
    500: '#b4c526',
    950: '#000000',
  },
}
SCSS
$custom: #b4c526;
$custom-light: #ced670;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c526",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 66.415,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78423,
    "c": 0.16947,
    "h": 116
  },
  "luminance": 0.49776
}

Semantic roles & 50–950 ramp

primary
#B4C526
secondary
#8178CF
accent
#3DEB50
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B

Preview Lab

Preview with #B4C526

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

Preview Lab → · Contrast checker → · Palette generator →

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