#B2A545#B2A545

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

Color values

HEX#B2A545
RGBrgb(178, 165, 69)
HSLhsl(53, 44%, 48%)
HSVhsv(53, 61%, 70%)
CMYKcmyk(0%, 7.3%, 61.2%, 30.2%)
CIE-LABlab(67.13, -7.29, 50.18)
CIE-LCHlch(67.13, 50.71, 98.27°)
OKLaboklab(71.41% -0.0237 0.1152)
OKLCHoklch(71.41% 0.118 101.6)
XYZxyz(32.8906, 36.8062, 11.0009)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A545 #4552B2
analogous
#B26E45 #B2A545 #88B245
triadic
#B2A545 #45B2A5 #A545B2
tetradic
#B2A545 #45B26E #4552B2 #B24588
square
#B2A545 #45B26E #4552B2 #B24588
split-complementary
#B2A545 #4588B2 #6E45B2
monochromatic
#5A5323 #867C34 #B2A545 #C7BC6E #D8D09A

Accessibility & contrast

On white

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

On black

8.36
#B2A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A545
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A545#FFFFFF#000000##000000
##B2A5451.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#BF9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a545;
/* rgb */ color: rgb(178, 165, 69);
/* oklch */ color: oklch(71.4% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#ccbf7d',
    500: '#b2a545',
    950: '#000000',
  },
}
SCSS
$custom: #b2a545;
$custom-light: #ccbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a545",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 52.844,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.11759,
    "h": 101.6
  },
  "luminance": 0.36805
}

Semantic roles & 50–950 ramp

primary
#B2A545
secondary
#8F95C4
accent
#63D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A545

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

Preview Lab → · Contrast checker → · Palette generator →

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