#B4C328#B4C328

#B4C328 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.166 H 115.4°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#B4C328
RGBrgb(180, 195, 40)
HSLhsl(66, 66%, 46%)
HSVhsv(66, 79%, 76%)
CMYKcmyk(7.7%, 0%, 79.5%, 23.5%)
CIE-LABlab(75.38, -23.23, 69.15)
CIE-LCHlch(75.38, 72.95, 108.57°)
OKLaboklab(77.98% -0.0713 0.1504)
OKLCHoklch(77.98% 0.166 115.4)
XYZxyz(38.7216, 48.8874, 9.4035)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C328 #3728C3
analogous
#C38428 #B4C328 #67C328
triadic
#B4C328 #28B4C3 #C328B4
tetradic
#B4C328 #28C384 #3728C3 #C32867
square
#B4C328 #28C384 #3728C3 #C32867
split-complementary
#B4C328 #2867C3 #8428C3
monochromatic
#565D13 #85901E #B4C328 #CDDB4E #DBE580

Accessibility & contrast

On white

1.95
#B4C328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#B4C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C328
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C328#FFFFFF#000000##000000
##B4C3281.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D0BB37
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c328;
/* rgb */ color: rgb(180, 195, 40);
/* oklch */ color: oklch(78.0% 0.166 115.4);
Tailwind
colors: {
  custom: {
    50: '#ced571',
    500: '#b4c328',
    950: '#000000',
  },
}
SCSS
$custom: #b4c328;
$custom-light: #ced571;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c328",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 65.806,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77983,
    "c": 0.16649,
    "h": 115.4
  },
  "luminance": 0.48887
}

Semantic roles & 50–950 ramp

primary
#B4C328
secondary
#8179CE
accent
#3FE94F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B

Preview Lab

Preview with #B4C328

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

Preview Lab → · Contrast checker → · Palette generator →

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