#B2A347#B2A347

#B2A347 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.114 H 100.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B2A347
RGBrgb(178, 163, 71)
HSLhsl(52, 43%, 49%)
HSVhsv(52, 60%, 70%)
CMYKcmyk(0%, 8.4%, 60.1%, 30.2%)
CIE-LABlab(66.61, -6.09, 48.68)
CIE-LCHlch(66.61, 49.06, 97.13°)
OKLaboklab(71.01% -0.02 0.1122)
OKLCHoklch(71.01% 0.114 100.1)
XYZxyz(32.5959, 36.1156, 11.2141)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A347 #4756B2
analogous
#B26E47 #B2A347 #8CB247
triadic
#B2A347 #47B2A3 #A347B2
tetradic
#B2A347 #47B26E #4756B2 #B2478C
square
#B2A347 #47B26E #4756B2 #B2478C
split-complementary
#B2A347 #478CB2 #6E47B2
monochromatic
#5B5324 #867B36 #B2A347 #C6BA70 #D7CF9C

Accessibility & contrast

On white

2.55
#B2A347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B2A347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A347
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A347#FFFFFF#000000##000000
##B2A3471.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3D
Deuteranopia (green-blind)
#B5A54C
Tritanopia (blue-blind)
#BF988F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a347;
/* rgb */ color: rgb(178, 163, 71);
/* oklch */ color: oklch(71.0% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe7e',
    500: '#b2a347',
    950: '#000000',
  },
}
SCSS
$custom: #b2a347;
$custom-light: #ccbe7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a347",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 51.589,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71006,
    "c": 0.11401,
    "h": 100.1
  },
  "luminance": 0.36114
}

Semantic roles & 50–950 ramp

primary
#B2A347
secondary
#9198C4
accent
#67D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A347

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

Preview Lab → · Contrast checker → · Palette generator →

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