#B2A447#B2A447

#B2A447 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.115 H 100.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B2A447
RGBrgb(178, 164, 71)
HSLhsl(52, 43%, 49%)
HSVhsv(52, 60%, 70%)
CMYKcmyk(0%, 7.9%, 60.1%, 30.2%)
CIE-LABlab(66.88, -6.62, 48.98)
CIE-LCHlch(66.88, 49.43, 97.70°)
OKLaboklab(71.22% -0.0216 0.1129)
OKLCHoklch(71.22% 0.115 100.8)
XYZxyz(32.7741, 36.4721, 11.2735)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A447 #4755B2
analogous
#B26F47 #B2A447 #8BB247
triadic
#B2A447 #47B2A4 #A447B2
tetradic
#B2A447 #47B26F #4755B2 #B2478B
square
#B2A447 #47B26F #4755B2 #B2478B
split-complementary
#B2A447 #478BB2 #6F47B2
monochromatic
#5B5324 #867C36 #B2A447 #C6BB70 #D7D09C

Accessibility & contrast

On white

2.53
#B2A447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B2A447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A447
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A447#FFFFFF#000000##000000
##B2A4471.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03D
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#BF9990
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a447;
/* rgb */ color: rgb(178, 164, 71);
/* oklch */ color: oklch(71.2% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#ccbe7e',
    500: '#b2a447',
    950: '#000000',
  },
}
SCSS
$custom: #b2a447;
$custom-light: #ccbe7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a447",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 71
  },
  "hsl": {
    "h": 52.15,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.11492,
    "h": 100.8
  },
  "luminance": 0.36471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A447

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

Preview Lab → · Contrast checker → · Palette generator →

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