#B2A548#B2A548

#B2A548 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.115 H 101.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A548
RGBrgb(178, 165, 72)
HSLhsl(53, 42%, 49%)
HSVhsv(53, 60%, 70%)
CMYKcmyk(0%, 7.3%, 59.6%, 30.2%)
CIE-LABlab(67.16, -7.08, 48.83)
CIE-LCHlch(67.16, 49.34, 98.25°)
OKLaboklab(71.45% -0.0227 0.1127)
OKLCHoklch(71.45% 0.115 101.4)
XYZxyz(32.9861, 36.8444, 11.5038)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A548 #4855B2
analogous
#B27048 #B2A548 #8AB248
triadic
#B2A548 #48B2A5 #A548B2
tetradic
#B2A548 #48B270 #4855B2 #B2488A
square
#B2A548 #48B270 #4855B2 #B2488A
split-complementary
#B2A548 #488AB2 #7048B2
monochromatic
#5B5425 #867D36 #B2A548 #C6BB71 #D7D09D

Accessibility & contrast

On white

2.51
#B2A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B2A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A548
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A548#FFFFFF#000000##000000
##B2A5481.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03E
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#BF9A91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a548;
/* rgb */ color: rgb(178, 165, 72);
/* oklch */ color: oklch(71.4% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbf7e',
    500: '#b2a548',
    950: '#000000',
  },
}
SCSS
$custom: #b2a548;
$custom-light: #ccbf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a548",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 52.642,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.11496,
    "h": 101.4
  },
  "luminance": 0.36843
}

Semantic roles & 50–950 ramp

primary
#B2A548
secondary
#9298C4
accent
#65D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A548

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

Preview Lab → · Contrast checker → · Palette generator →

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