#B4BD2E#B4BD2E

#B4BD2E is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.157 H 113.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B4BD2E
RGBrgb(180, 189, 46)
HSLhsl(64, 61%, 46%)
HSVhsv(64, 76%, 74%)
CMYKcmyk(4.8%, 0%, 75.7%, 25.9%)
CIE-LABlab(73.74, -20.03, 65.88)
CIE-LCHlch(73.74, 68.86, 106.91°)
OKLaboklab(76.67% -0.062 0.1445)
OKLCHoklch(76.67% 0.157 113.2)
XYZxyz(37.5143, 46.2966, 9.5442)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD2E #372EBD
analogous
#BD7E2E #B4BD2E #6CBD2E
triadic
#B4BD2E #2EB4BD #BD2EB4
tetradic
#B4BD2E #2EBD7E #372EBD #BD2E6C
square
#B4BD2E #2EBD7E #372EBD #BD2E6C
split-complementary
#B4BD2E #2E6CBD #7E2EBD
monochromatic
#565B16 #858C22 #B4BD2E #CDD553 #DBE184

Accessibility & contrast

On white

2.05
#B4BD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B4BD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD2E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD2E#FFFFFF#000000##000000
##B4BD2E1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB408
Deuteranopia (green-blind)
#CBB73A
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd2e;
/* rgb */ color: rgb(180, 189, 46);
/* oklch */ color: oklch(76.7% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#ced072',
    500: '#b4bd2e',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd2e;
$custom-light: #ced072;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd2e",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 63.776,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76673,
    "c": 0.15727,
    "h": 113.2
  },
  "luminance": 0.46296
}

Semantic roles & 50–950 ramp

primary
#B4BD2E
secondary
#817CCA
accent
#44E44E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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