#B4A451#B4A451

#B4A451 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.106 H 98.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B4A451
RGBrgb(180, 164, 81)
HSLhsl(50, 40%, 51%)
HSVhsv(50, 55%, 71%)
CMYKcmyk(0%, 8.9%, 55%, 29.4%)
CIE-LABlab(67.16, -4.98, 44.59)
CIE-LCHlch(67.16, 44.86, 96.38°)
OKLaboklab(71.52% -0.0158 0.1046)
OKLCHoklch(71.52% 0.106 98.6)
XYZxyz(33.5842, 36.8496, 13.1266)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A451 #5161B4
analogous
#B47251 #B4A451 #92B451
triadic
#B4A451 #51B4A4 #A451B4
tetradic
#B4A451 #51B472 #5161B4 #B45192
square
#B4A451 #51B472 #5161B4 #B45192
split-complementary
#B4A451 #5192B4 #7251B4
monochromatic
#61582A #8C7F3C #B4A451 #C6BA7C #D9D1A7

Accessibility & contrast

On white

2.51
#B4A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B4A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A451
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A451#FFFFFF#000000##000000
##B4A4511.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#B6A655
Tritanopia (blue-blind)
#C09A91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a451;
/* rgb */ color: rgb(180, 164, 81);
/* oklch */ color: oklch(71.5% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#cdbe84',
    500: '#b4a451',
    950: '#000000',
  },
}
SCSS
$custom: #b4a451;
$custom-light: #cdbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a451",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 50.303,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.10577,
    "h": 98.6
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

primary
#B4A451
secondary
#9BA2C6
accent
#6BD058
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A451

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

Preview Lab → · Contrast checker → · Palette generator →

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