#B4BD40#B4BD40

#B4BD40 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.146 H 113.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B4BD40
RGBrgb(180, 189, 64)
HSLhsl(64, 49%, 50%)
HSVhsv(64, 66%, 74%)
CMYKcmyk(4.8%, 0%, 66.1%, 25.9%)
CIE-LABlab(73.85, -19.11, 59.50)
CIE-LCHlch(73.85, 62.50, 107.81°)
OKLaboklab(76.8% -0.0578 0.1341)
OKLCHoklch(76.8% 0.146 113.3)
XYZxyz(37.9464, 46.4694, 11.8200)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD40 #4940BD
analogous
#BD8840 #B4BD40 #76BD40
triadic
#B4BD40 #40B4BD #BD40B4
tetradic
#B4BD40 #40BD88 #4940BD #BD4076
square
#B4BD40 #40BD88 #4940BD #BD4076
split-complementary
#B4BD40 #4076BD #8840BD
monochromatic
#5D6221 #888F31 #B4BD40 #C7CD6D #D8DD9A

Accessibility & contrast

On white

2.04
#B4BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B4BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD40
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD40#FFFFFF#000000##000000
##B4BD401.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#C0B2A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd40;
/* rgb */ color: rgb(180, 189, 64);
/* oklch */ color: oklch(76.8% 0.146 113.3);
Tailwind
colors: {
  custom: {
    50: '#cdd07c',
    500: '#b4bd40',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd40;
$custom-light: #cdd07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd40",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 64.32,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76798,
    "c": 0.14603,
    "h": 113.3
  },
  "luminance": 0.46469
}

Semantic roles & 50–950 ramp

primary
#B4BD40
secondary
#9490C9
accent
#4FD959
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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