#B2A152#B2A152

#B2A152 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.102 H 97.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B2A152
RGBrgb(178, 161, 82)
HSLhsl(49, 38%, 51%)
HSVhsv(49, 54%, 70%)
CMYKcmyk(0%, 9.6%, 53.9%, 30.2%)
CIE-LABlab(66.19, -4.15, 42.90)
CIE-LCHlch(66.19, 43.10, 95.53°)
OKLaboklab(70.71% -0.0132 0.1011)
OKLCHoklch(70.71% 0.102 97.4)
XYZxyz(32.6291, 35.5652, 13.1271)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A152 #5263B2
analogous
#B27152 #B2A152 #93B252
triadic
#B2A152 #52B2A1 #A152B2
tetradic
#B2A152 #52B271 #5263B2 #B25293
square
#B2A152 #52B271 #5263B2 #B25293
split-complementary
#B2A152 #5293B2 #7152B2
monochromatic
#5F562A #8A7C3D #B2A152 #C5B87C #D8CFA7

Accessibility & contrast

On white

2.59
#B2A152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B2A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A152
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A152#FFFFFF#000000##000000
##B2A1521.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4B
Deuteranopia (green-blind)
#B3A355
Tritanopia (blue-blind)
#BE978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a152;
/* rgb */ color: rgb(178, 161, 82);
/* oklch */ color: oklch(70.7% 0.102 97.4);
Tailwind
colors: {
  custom: {
    50: '#cbbc85',
    500: '#b2a152',
    950: '#000000',
  },
}
SCSS
$custom: #b2a152;
$custom-light: #cbbc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a152",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 49.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7071,
    "c": 0.1019,
    "h": 97.4
  },
  "luminance": 0.35564
}

Semantic roles & 50–950 ramp

primary
#B2A152
secondary
#9BA2C5
accent
#6ECE59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A152

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

Preview Lab → · Contrast checker → · Palette generator →

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