#B2A050#B2A050

#B2A050 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.103 H 96.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B2A050
RGBrgb(178, 160, 80)
HSLhsl(49, 39%, 51%)
HSVhsv(49, 55%, 70%)
CMYKcmyk(0%, 10.1%, 55.1%, 30.2%)
CIE-LABlab(65.89, -3.78, 43.54)
CIE-LCHlch(65.89, 43.71, 94.97°)
OKLaboklab(70.47% -0.0123 0.1022)
OKLCHoklch(70.47% 0.103 96.9)
XYZxyz(32.3800, 35.1871, 12.6741)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A050 #5062B2
analogous
#B26F50 #B2A050 #93B250
triadic
#B2A050 #50B2A0 #A050B2
tetradic
#B2A050 #50B26F #5062B2 #B25093
square
#B2A050 #50B26F #5062B2 #B25093
split-complementary
#B2A050 #5093B2 #6F50B2
monochromatic
#5E5429 #897B3C #B2A050 #C5B77A #D7CEA5

Accessibility & contrast

On white

2.61
#B2A050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B2A050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A050
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A050#FFFFFF#000000##000000
##B2A0501.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D49
Deuteranopia (green-blind)
#B2A353
Tritanopia (blue-blind)
#BE968E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a050;
/* rgb */ color: rgb(178, 160, 80);
/* oklch */ color: oklch(70.5% 0.103 96.9);
Tailwind
colors: {
  custom: {
    50: '#cbbb83',
    500: '#b2a050',
    950: '#000000',
  },
}
SCSS
$custom: #b2a050;
$custom-light: #cbbb83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a050",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 80
  },
  "hsl": {
    "h": 48.98,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70471,
    "c": 0.10299,
    "h": 96.9
  },
  "luminance": 0.35186
}

Semantic roles & 50–950 ramp

primary
#B2A050
secondary
#99A1C5
accent
#6FCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14110B
muted
#82807C

Preview Lab

Preview with #B2A050

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

Preview Lab → · Contrast checker → · Palette generator →

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