#B4A440#B4A440

#B4A440 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.121 H 100.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B4A440
RGBrgb(180, 164, 64)
HSLhsl(52, 48%, 48%)
HSVhsv(52, 64%, 71%)
CMYKcmyk(0%, 8.9%, 64.4%, 29.4%)
CIE-LABlab(67.00, -6.23, 52.32)
CIE-LCHlch(67.00, 52.69, 96.79°)
OKLaboklab(71.34% -0.0214 0.1189)
OKLCHoklch(71.34% 0.121 100.2)
XYZxyz(33.0246, 36.6258, 10.1794)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A440 #4050B4
analogous
#B46A40 #B4A440 #8AB440
triadic
#B4A440 #40B4A4 #A440B4
tetradic
#B4A440 #40B46A #4050B4 #B4408A
square
#B4A440 #40B46A #4050B4 #B4408A
split-complementary
#B4A440 #408AB4 #6A40B4
monochromatic
#5A5220 #877B30 #B4A440 #C9BC68 #D9D095

Accessibility & contrast

On white

2.52
#B4A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B4A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A440
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A440#FFFFFF#000000##000000
##B4A4401.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B7A645
Tritanopia (blue-blind)
#C1998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a440;
/* rgb */ color: rgb(180, 164, 64);
/* oklch */ color: oklch(71.3% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#cdbe79',
    500: '#b4a440',
    950: '#000000',
  },
}
SCSS
$custom: #b4a440;
$custom-light: #cdbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a440",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 51.724,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71335,
    "c": 0.12085,
    "h": 100.2
  },
  "luminance": 0.36624
}

Semantic roles & 50–950 ramp

primary
#B4A440
secondary
#8B93C5
accent
#63D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A440

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

Preview Lab → · Contrast checker → · Palette generator →

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