#B4A150#B4A150

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

Color values

HEX#B4A150
RGBrgb(180, 161, 80)
HSLhsl(49, 40%, 51%)
HSVhsv(49, 56%, 71%)
CMYKcmyk(0%, 10.6%, 55.6%, 29.4%)
CIE-LABlab(66.35, -3.46, 44.12)
CIE-LCHlch(66.35, 44.26, 94.49°)
OKLaboklab(70.87% -0.0115 0.1035)
OKLCHoklch(70.87% 0.104 96.4)
XYZxyz(33.0164, 35.7736, 12.7537)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A150 #5063B4
analogous
#B46F50 #B4A150 #95B450
triadic
#B4A150 #50B4A1 #A150B4
tetradic
#B4A150 #50B46F #5063B4 #B45095
square
#B4A150 #50B46F #5063B4 #B45095
split-complementary
#B4A150 #5095B4 #6F50B4
monochromatic
#605629 #8B7C3C #B4A150 #C6B87B #D9CFA6

Accessibility & contrast

On white

2.58
#B4A150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B4A150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A150
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A150#FFFFFF#000000##000000
##B4A1501.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a150;
/* rgb */ color: rgb(180, 161, 80);
/* oklch */ color: oklch(70.9% 0.104 96.4);
Tailwind
colors: {
  custom: {
    50: '#cdbc83',
    500: '#b4a150',
    950: '#000000',
  },
}
SCSS
$custom: #b4a150;
$custom-light: #cdbc83;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a150",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 80
  },
  "hsl": {
    "h": 48.6,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70873,
    "c": 0.1041,
    "h": 96.4
  },
  "luminance": 0.35772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4A150

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

Preview Lab → · Contrast checker → · Palette generator →

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