#B4C538#B4C538

#B4C538 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.160 H 116.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#B4C538
RGBrgb(180, 197, 56)
HSLhsl(67, 56%, 50%)
HSVhsv(67, 72%, 77%)
CMYKcmyk(8.6%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.02, -23.51, 64.68)
CIE-LCHlch(76.02, 68.82, 109.97°)
OKLaboklab(78.52% -0.0708 0.1437)
OKLCHoklch(78.52% 0.16 116.2)
XYZxyz(39.5034, 49.9219, 11.2955)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C538 #4938C5
analogous
#C59038 #B4C538 #6EC538
triadic
#B4C538 #38B4C5 #C538B4
tetradic
#B4C538 #38C590 #4938C5 #C5386E
square
#B4C538 #38C590 #4938C5 #C5386E
split-complementary
#B4C538 #386EC5 #9038C5
monochromatic
#5D661D #88952A #B4C538 #C7D467 #D8E196

Accessibility & contrast

On white

1.91
#B4C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#B4C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C538
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C538#FFFFFF#000000##000000
##B4C5381.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#BFBAAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b4c538;
/* rgb */ color: rgb(180, 197, 56);
/* oklch */ color: oklch(78.5% 0.160 116.2);
Tailwind
colors: {
  custom: {
    50: '#ced678',
    500: '#b4c538',
    950: '#000000',
  },
}
SCSS
$custom: #b4c538;
$custom-light: #ced678;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c538",
  "rgb": {
    "r": 180,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 67.234,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78523,
    "c": 0.16021,
    "h": 116.2
  },
  "luminance": 0.49921
}

Semantic roles & 50–950 ramp

primary
#B4C538
secondary
#948CCD
accent
#49DF5B
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C538

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

Preview Lab → · Contrast checker → · Palette generator →

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