#B4B440#B4B440

#B4B440 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.136 H 109.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B4B440
RGBrgb(180, 180, 64)
HSLhsl(60, 48%, 48%)
HSVhsv(60, 64%, 71%)
CMYKcmyk(0%, 0%, 64.4%, 29.4%)
CIE-LABlab(71.36, -14.56, 56.93)
CIE-LCHlch(71.36, 58.76, 104.35°)
OKLaboklab(74.81% -0.045 0.1287)
OKLCHoklch(74.81% 0.136 109.3)
XYZxyz(36.0702, 42.7170, 11.1946)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B440 #4040B4
analogous
#B47A40 #B4B440 #7AB440
triadic
#B4B440 #40B4B4 #B440B4
tetradic
#B4B440 #40B47A #4040B4 #B4407A
square
#B4B440 #40B47A #4040B4 #B4407A
split-complementary
#B4B440 #407AB4 #7A40B4
monochromatic
#5A5A20 #878730 #B4B440 #C9C968 #D9D995

Accessibility & contrast

On white

2.20
#B4B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B4B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B440
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B440#FFFFFF#000000##000000
##B4B4401.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C3B147
Tritanopia (blue-blind)
#C0A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b440;
/* rgb */ color: rgb(180, 180, 64);
/* oklch */ color: oklch(74.8% 0.136 109.3);
Tailwind
colors: {
  custom: {
    50: '#cdca7b',
    500: '#b4b440',
    950: '#000000',
  },
}
SCSS
$custom: #b4b440;
$custom-light: #cdca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b440",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74811,
    "c": 0.13633,
    "h": 109.3
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

primary
#B4B440
secondary
#8B8BC5
accent
#51D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B440

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

Preview Lab → · Contrast checker → · Palette generator →

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