#B2A147#B2A147

#B2A147 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.112 H 98.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B2A147
RGBrgb(178, 161, 71)
HSLhsl(50, 43%, 49%)
HSVhsv(50, 60%, 70%)
CMYKcmyk(0%, 9.6%, 60.1%, 30.2%)
CIE-LABlab(66.07, -5.02, 48.08)
CIE-LCHlch(66.07, 48.34, 95.96°)
OKLaboklab(70.58% -0.017 0.111)
OKLCHoklch(70.58% 0.112 98.7)
XYZxyz(32.2436, 35.4110, 11.0966)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A147 #4758B2
analogous
#B26C47 #B2A147 #8EB247
triadic
#B2A147 #47B2A1 #A147B2
tetradic
#B2A147 #47B26C #4758B2 #B2478E
square
#B2A147 #47B26C #4758B2 #B2478E
split-complementary
#B2A147 #478EB2 #6C47B2
monochromatic
#5B5224 #867936 #B2A147 #C6B870 #D7CE9C

Accessibility & contrast

On white

2.60
#B2A147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B2A147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A147
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A147#FFFFFF#000000##000000
##B2A1471.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3D
Deuteranopia (green-blind)
#B4A34B
Tritanopia (blue-blind)
#BF968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a147;
/* rgb */ color: rgb(178, 161, 71);
/* oklch */ color: oklch(70.6% 0.112 98.7);
Tailwind
colors: {
  custom: {
    50: '#ccbc7e',
    500: '#b2a147',
    950: '#000000',
  },
}
SCSS
$custom: #b2a147;
$custom-light: #ccbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a147",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 50.467,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70577,
    "c": 0.11224,
    "h": 98.7
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#B2A147
secondary
#9199C4
accent
#69D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A147

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

Preview Lab → · Contrast checker → · Palette generator →

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