#B2A052#B2A052

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

Color values

HEX#B2A052
RGBrgb(178, 160, 82)
HSLhsl(49, 38%, 51%)
HSVhsv(49, 54%, 70%)
CMYKcmyk(0%, 10.1%, 53.9%, 30.2%)
CIE-LABlab(65.92, -3.62, 42.58)
CIE-LCHlch(65.92, 42.73, 94.85°)
OKLaboklab(70.5% -0.0116 0.1004)
OKLCHoklch(70.5% 0.101 96.6)
XYZxyz(32.4550, 35.2171, 13.0690)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A052 #5264B2
analogous
#B27052 #B2A052 #94B252
triadic
#B2A052 #52B2A0 #A052B2
tetradic
#B2A052 #52B270 #5264B2 #B25294
square
#B2A052 #52B270 #5264B2 #B25294
split-complementary
#B2A052 #5294B2 #7052B2
monochromatic
#5F552A #8A7B3D #B2A052 #C5B77C #D8CFA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A052#FFFFFF#000000##000000
##B2A0521.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)
#AD9D4B
Deuteranopia (green-blind)
#B2A355
Tritanopia (blue-blind)
#BE968E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a052;
/* rgb */ color: rgb(178, 160, 82);
/* oklch */ color: oklch(70.5% 0.101 96.6);
Tailwind
colors: {
  custom: {
    50: '#cbbb85',
    500: '#b2a052',
    950: '#000000',
  },
}
SCSS
$custom: #b2a052;
$custom-light: #cbbb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a052",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 48.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.10103,
    "h": 96.6
  },
  "luminance": 0.35216
}

Semantic roles & 50–950 ramp

primary
#B2A052
secondary
#9BA3C5
accent
#6FCE59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14110B
muted
#82807C

Preview Lab

Preview with #B2A052

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

Preview Lab → · Contrast checker → · Palette generator →

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