#B2A247#B2A247

#B2A247 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.113 H 99.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B2A247
RGBrgb(178, 162, 71)
HSLhsl(51, 43%, 49%)
HSVhsv(51, 60%, 70%)
CMYKcmyk(0%, 9%, 60.1%, 30.2%)
CIE-LABlab(66.34, -5.56, 48.38)
CIE-LCHlch(66.34, 48.70, 96.55°)
OKLaboklab(70.79% -0.0185 0.1116)
OKLCHoklch(70.79% 0.113 99.4)
XYZxyz(32.4190, 35.7619, 11.1551)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A247 #4757B2
analogous
#B26D47 #B2A247 #8DB247
triadic
#B2A247 #47B2A2 #A247B2
tetradic
#B2A247 #47B26D #4757B2 #B2478D
square
#B2A247 #47B26D #4757B2 #B2478D
split-complementary
#B2A247 #478DB2 #6D47B2
monochromatic
#5B5224 #867A36 #B2A247 #C6B970 #D7CF9C

Accessibility & contrast

On white

2.58
#B2A247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B2A247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A247
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A247#FFFFFF#000000##000000
##B2A2471.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3D
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#BF978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a247;
/* rgb */ color: rgb(178, 162, 71);
/* oklch */ color: oklch(70.8% 0.113 99.4);
Tailwind
colors: {
  custom: {
    50: '#ccbd7e',
    500: '#b2a247',
    950: '#000000',
  },
}
SCSS
$custom: #b2a247;
$custom-light: #ccbd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a247",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 51.028,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70791,
    "c": 0.11311,
    "h": 99.4
  },
  "luminance": 0.35761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A247

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

Preview Lab → · Contrast checker → · Palette generator →

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