#B4BD38#B4BD38

#B4BD38 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.151 H 113.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B4BD38
RGBrgb(180, 189, 56)
HSLhsl(64, 54%, 48%)
HSVhsv(64, 70%, 74%)
CMYKcmyk(4.8%, 0%, 70.4%, 25.9%)
CIE-LABlab(73.79, -19.56, 62.51)
CIE-LCHlch(73.79, 65.50, 107.38°)
OKLaboklab(76.74% -0.0598 0.1391)
OKLCHoklch(76.74% 0.151 113.3)
XYZxyz(37.7349, 46.3848, 10.7060)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BD38 #4138BD
analogous
#BD8338 #B4BD38 #71BD38
triadic
#B4BD38 #38B4BD #BD38B4
tetradic
#B4BD38 #38BD83 #4138BD #BD3871
square
#B4BD38 #38BD83 #4138BD #BD3871
split-complementary
#B4BD38 #3871BD #8338BD
monochromatic
#5A5F1C #878E2A #B4BD38 #C9D062 #D9DE91

Accessibility & contrast

On white

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

On black

10.28
#B4BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BD38
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BD38#FFFFFF#000000##000000
##B4BD381.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4bd38;
/* rgb */ color: rgb(180, 189, 56);
/* oklch */ color: oklch(76.7% 0.151 113.3);
Tailwind
colors: {
  custom: {
    50: '#ced077',
    500: '#b4bd38',
    950: '#000000',
  },
}
SCSS
$custom: #b4bd38;
$custom-light: #ced077;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bd38",
  "rgb": {
    "r": 180,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 64.06,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76737,
    "c": 0.15146,
    "h": 113.3
  },
  "luminance": 0.46384
}

Semantic roles & 50–950 ramp

primary
#B4BD38
secondary
#8C87C9
accent
#4ADE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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