#B2A257#B2A257

#B2A257 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.098 H 97.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B2A257
RGBrgb(178, 162, 87)
HSLhsl(49, 37%, 52%)
HSVhsv(49, 51%, 70%)
CMYKcmyk(0%, 9%, 51.1%, 30.2%)
CIE-LABlab(66.52, -4.24, 40.79)
CIE-LCHlch(66.52, 41.01, 95.94°)
OKLaboklab(70.99% -0.0129 0.0969)
OKLCHoklch(70.99% 0.098 97.6)
XYZxyz(33.0018, 35.9950, 14.2243)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A257 #5767B2
analogous
#B27557 #B2A257 #94B257
triadic
#B2A257 #57B2A2 #A257B2
tetradic
#B2A257 #57B275 #5767B2 #B25794
square
#B2A257 #57B275 #5767B2 #B25794
split-complementary
#B2A257 #5794B2 #7557B2
monochromatic
#62582D #8C7E40 #B2A257 #C5B981 #D8D0AB

Accessibility & contrast

On white

2.56
#B2A257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B2A257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A257
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A257#FFFFFF#000000##000000
##B2A2571.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F50
Deuteranopia (green-blind)
#B3A45A
Tritanopia (blue-blind)
#BE9890
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a257;
/* rgb */ color: rgb(178, 162, 87);
/* oklch */ color: oklch(71.0% 0.098 97.6);
Tailwind
colors: {
  custom: {
    50: '#cbbd88',
    500: '#b2a257',
    950: '#000000',
  },
}
SCSS
$custom: #b2a257;
$custom-light: #cbbd88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a257",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 49.451,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.09775,
    "h": 97.6
  },
  "luminance": 0.35994
}

Semantic roles & 50–950 ramp

primary
#B2A257
secondary
#9EA5C6
accent
#6FCD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A257

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

Preview Lab → · Contrast checker → · Palette generator →

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