#B2A560#B2A560

#B2A560 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.091 H 98.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A560
RGBrgb(178, 165, 96)
HSLhsl(50, 35%, 54%)
HSVhsv(50, 46%, 70%)
CMYKcmyk(0%, 7.3%, 46.1%, 30.2%)
CIE-LABlab(67.44, -4.98, 37.32)
CIE-LCHlch(67.44, 37.65, 97.60°)
OKLaboklab(71.76% -0.0141 0.0899)
OKLCHoklch(71.76% 0.091 98.9)
XYZxyz(33.9274, 37.2209, 16.4613)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A560 #606DB2
analogous
#B27C60 #B2A560 #96B260
triadic
#B2A560 #60B2A5 #A560B2
tetradic
#B2A560 #60B27C #606DB2 #B26096
square
#B2A560 #60B27C #606DB2 #B26096
split-complementary
#B2A560 #6096B2 #7C60B2
monochromatic
#665E31 #8F8445 #B2A560 #C6BC89 #DAD4B2

Accessibility & contrast

On white

2.49
#B2A560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B2A560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A560
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A560#FFFFFF#000000##000000
##B2A5601.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A15A
Deuteranopia (green-blind)
#B5A663
Tritanopia (blue-blind)
#BD9C94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a560;
/* rgb */ color: rgb(178, 165, 96);
/* oklch */ color: oklch(71.8% 0.091 98.9);
Tailwind
colors: {
  custom: {
    50: '#cabf8e',
    500: '#b2a560',
    950: '#000000',
  },
}
SCSS
$custom: #b2a560;
$custom-light: #cabf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a560",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 50.488,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71762,
    "c": 0.091,
    "h": 98.9
  },
  "luminance": 0.3722
}

Semantic roles & 50–950 ramp

primary
#B2A560
secondary
#A5ABC8
accent
#6ECB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A560

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

Preview Lab → · Contrast checker → · Palette generator →

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