#B2A547#B2A547

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

Color values

HEX#B2A547
RGBrgb(178, 165, 71)
HSLhsl(53, 43%, 49%)
HSVhsv(53, 60%, 70%)
CMYKcmyk(0%, 7.3%, 60.1%, 30.2%)
CIE-LABlab(67.15, -7.15, 49.28)
CIE-LCHlch(67.15, 49.80, 98.25°)
OKLaboklab(71.44% -0.0231 0.1135)
OKLCHoklch(71.44% 0.116 101.5)
XYZxyz(32.9538, 36.8315, 11.3334)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A547 #4754B2
analogous
#B27047 #B2A547 #8AB247
triadic
#B2A547 #47B2A5 #A547B2
tetradic
#B2A547 #47B270 #4754B2 #B2478A
square
#B2A547 #47B270 #4754B2 #B2478A
split-complementary
#B2A547 #478AB2 #7047B2
monochromatic
#5B5424 #867C36 #B2A547 #C6BC70 #D7D09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A547#FFFFFF#000000##000000
##B2A5471.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)
#B3A03D
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#BF9A91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a547;
/* rgb */ color: rgb(178, 165, 71);
/* oklch */ color: oklch(71.4% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#ccbf7e',
    500: '#b2a547',
    950: '#000000',
  },
}
SCSS
$custom: #b2a547;
$custom-light: #ccbf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a547",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 71
  },
  "hsl": {
    "h": 52.71,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.11585,
    "h": 101.5
  },
  "luminance": 0.3683
}

Semantic roles & 50–950 ramp

primary
#B2A547
secondary
#9197C4
accent
#64D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A547

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

Preview Lab → · Contrast checker → · Palette generator →

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