#B2A047#B2A047

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

Color values

HEX#B2A047
RGBrgb(178, 160, 71)
HSLhsl(50, 43%, 49%)
HSVhsv(50, 60%, 70%)
CMYKcmyk(0%, 10.1%, 60.1%, 30.2%)
CIE-LABlab(65.80, -4.49, 47.77)
CIE-LCHlch(65.80, 47.98, 95.37°)
OKLaboklab(70.36% -0.0154 0.1103)
OKLCHoklch(70.36% 0.111 98)
XYZxyz(32.0695, 35.0629, 11.0386)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A047 #4759B2
analogous
#B26B47 #B2A047 #8FB247
triadic
#B2A047 #47B2A0 #A047B2
tetradic
#B2A047 #47B26B #4759B2 #B2478F
square
#B2A047 #47B26B #4759B2 #B2478F
split-complementary
#B2A047 #478FB2 #6B47B2
monochromatic
#5B5124 #867936 #B2A047 #C6B870 #D7CD9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A047#FFFFFF#000000##000000
##B2A0471.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)
#AE9C3E
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#BF958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a047;
/* rgb */ color: rgb(178, 160, 71);
/* oklch */ color: oklch(70.4% 0.111 98.0);
Tailwind
colors: {
  custom: {
    50: '#ccbb7d',
    500: '#b2a047',
    950: '#000000',
  },
}
SCSS
$custom: #b2a047;
$custom-light: #ccbb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a047",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 49.907,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70364,
    "c": 0.11138,
    "h": 98
  },
  "luminance": 0.35062
}

Semantic roles & 50–950 ramp

primary
#B2A047
secondary
#919AC4
accent
#6AD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B2A047

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

Preview Lab → · Contrast checker → · Palette generator →

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