#B4A151#B4A151

#B4A151 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.103 H 96.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B4A151
RGBrgb(180, 161, 81)
HSLhsl(48, 40%, 51%)
HSVhsv(48, 55%, 71%)
CMYKcmyk(0%, 10.6%, 55%, 29.4%)
CIE-LABlab(66.36, -3.38, 43.64)
CIE-LCHlch(66.36, 43.77, 94.43°)
OKLaboklab(70.88% -0.0112 0.1025)
OKLCHoklch(70.88% 0.103 96.2)
XYZxyz(33.0537, 35.7885, 12.9498)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A151 #5164B4
analogous
#B46F51 #B4A151 #95B451
triadic
#B4A151 #51B4A1 #A151B4
tetradic
#B4A151 #51B46F #5164B4 #B45195
square
#B4A151 #51B46F #5164B4 #B45195
split-complementary
#B4A151 #5195B4 #6F51B4
monochromatic
#61562A #8C7C3C #B4A151 #C6B87C #D9CFA7

Accessibility & contrast

On white

2.57
#B4A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B4A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A151
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A151#FFFFFF#000000##000000
##B4A1511.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4A
Deuteranopia (green-blind)
#B4A454
Tritanopia (blue-blind)
#C1978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a151;
/* rgb */ color: rgb(180, 161, 81);
/* oklch */ color: oklch(70.9% 0.103 96.2);
Tailwind
colors: {
  custom: {
    50: '#cdbc84',
    500: '#b4a151',
    950: '#000000',
  },
}
SCSS
$custom: #b4a151;
$custom-light: #cdbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a151",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 48.485,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.10314,
    "h": 96.2
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#B4A151
secondary
#9BA3C6
accent
#6FD058
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A151

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

Preview Lab → · Contrast checker → · Palette generator →

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