#B2A048#B2A048

#B2A048 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.110 H 97.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B2A048
RGBrgb(178, 160, 72)
HSLhsl(50, 42%, 49%)
HSVhsv(50, 60%, 70%)
CMYKcmyk(0%, 10.1%, 59.6%, 30.2%)
CIE-LABlab(65.81, -4.42, 47.31)
CIE-LCHlch(65.81, 47.52, 95.33°)
OKLaboklab(70.38% -0.0151 0.1095)
OKLCHoklch(70.38% 0.11 97.9)
XYZxyz(32.1019, 35.0759, 11.2090)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A048 #485AB2
analogous
#B26B48 #B2A048 #8FB248
triadic
#B2A048 #48B2A0 #A048B2
tetradic
#B2A048 #48B26B #485AB2 #B2488F
square
#B2A048 #48B26B #485AB2 #B2488F
split-complementary
#B2A048 #488FB2 #6B48B2
monochromatic
#5B5225 #867936 #B2A048 #C6B771 #D7CD9D

Accessibility & contrast

On white

2.62
#B2A048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B2A048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A048
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A048#FFFFFF#000000##000000
##B2A0481.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3F
Deuteranopia (green-blind)
#B3A34C
Tritanopia (blue-blind)
#BF958D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a048;
/* rgb */ color: rgb(178, 160, 72);
/* oklch */ color: oklch(70.4% 0.110 97.9);
Tailwind
colors: {
  custom: {
    50: '#ccbb7e',
    500: '#b2a048',
    950: '#000000',
  },
}
SCSS
$custom: #b2a048;
$custom-light: #ccbb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a048",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 49.811,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.11049,
    "h": 97.9
  },
  "luminance": 0.35074
}

Semantic roles & 50–950 ramp

primary
#B2A048
secondary
#929AC4
accent
#6BD256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B2A048

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

Preview Lab → · Contrast checker → · Palette generator →

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