#B2A552#B2A552

#B2A552 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.106 H 100.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B2A552
RGBrgb(178, 165, 82)
HSLhsl(52, 38%, 51%)
HSVhsv(52, 54%, 70%)
CMYKcmyk(0%, 7.3%, 53.9%, 30.2%)
CIE-LABlab(67.27, -6.28, 44.17)
CIE-LCHlch(67.27, 44.62, 98.10°)
OKLaboklab(71.57% -0.0193 0.1038)
OKLCHoklch(71.57% 0.106 100.5)
XYZxyz(33.3393, 36.9857, 13.3638)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A552 #525FB2
analogous
#B27552 #B2A552 #8FB252
triadic
#B2A552 #52B2A5 #A552B2
tetradic
#B2A552 #52B275 #525FB2 #B2528F
square
#B2A552 #52B275 #525FB2 #B2528F
split-complementary
#B2A552 #528FB2 #7552B2
monochromatic
#5F582A #8A7F3D #B2A552 #C5BB7C #D8D1A7

Accessibility & contrast

On white

2.50
#B2A552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B2A552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A552
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A552#FFFFFF#000000##000000
##B2A5521.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14A
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#BE9B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a552;
/* rgb */ color: rgb(178, 165, 82);
/* oklch */ color: oklch(71.6% 0.106 100.5);
Tailwind
colors: {
  custom: {
    50: '#cbbf85',
    500: '#b2a552',
    950: '#000000',
  },
}
SCSS
$custom: #b2a552;
$custom-light: #cbbf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a552",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 51.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.1056,
    "h": 100.5
  },
  "luminance": 0.36984
}

Semantic roles & 50–950 ramp

primary
#B2A552
secondary
#9BA0C5
accent
#69CE59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A552

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

Preview Lab → · Contrast checker → · Palette generator →

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