#B2A960#B2A960

#B2A960 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.095 H 102.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B2A960
RGBrgb(178, 169, 96)
HSLhsl(53, 35%, 54%)
HSVhsv(53, 46%, 70%)
CMYKcmyk(0%, 5.1%, 46.1%, 30.2%)
CIE-LABlab(68.52, -7.11, 38.66)
CIE-LCHlch(68.52, 39.31, 100.42°)
OKLaboklab(72.62% -0.0202 0.0929)
OKLCHoklch(72.62% 0.095 102.3)
XYZxyz(34.6602, 38.6865, 16.7055)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A960 #6069B2
analogous
#B28060 #B2A960 #92B260
triadic
#B2A960 #60B2A9 #A960B2
tetradic
#B2A960 #60B280 #6069B2 #B26092
square
#B2A960 #60B280 #6069B2 #B26092
split-complementary
#B2A960 #6092B2 #8060B2
monochromatic
#666031 #8F8745 #B2A960 #C6BF89 #DAD6B2

Accessibility & contrast

On white

2.40
#B2A960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B2A960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A960
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A960#FFFFFF#000000##000000
##B2A9601.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55A
Deuteranopia (green-blind)
#B8A963
Tritanopia (blue-blind)
#BDA098
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a960;
/* rgb */ color: rgb(178, 169, 96);
/* oklch */ color: oklch(72.6% 0.095 102.3);
Tailwind
colors: {
  custom: {
    50: '#cac28e',
    500: '#b2a960',
    950: '#000000',
  },
}
SCSS
$custom: #b2a960;
$custom-light: #cac28e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a960",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 53.415,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.09507,
    "h": 102.3
  },
  "luminance": 0.38685
}

Semantic roles & 50–950 ramp

primary
#B2A960
secondary
#A5A9C8
accent
#69CB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A960

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

Preview Lab → · Contrast checker → · Palette generator →

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