#B2A656#B2A656

#B2A656 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.103 H 100.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B2A656
RGBrgb(178, 166, 86)
HSLhsl(52, 37%, 52%)
HSVhsv(52, 52%, 70%)
CMYKcmyk(0%, 6.7%, 51.7%, 30.2%)
CIE-LABlab(67.58, -6.47, 42.57)
CIE-LCHlch(67.58, 43.06, 98.64°)
OKLaboklab(71.83% -0.0194 0.1007)
OKLCHoklch(71.83% 0.103 100.9)
XYZxyz(33.6770, 37.4105, 14.2493)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A656 #5662B2
analogous
#B27856 #B2A656 #90B256
triadic
#B2A656 #56B2A6 #A656B2
tetradic
#B2A656 #56B278 #5662B2 #B25690
square
#B2A656 #56B278 #5662B2 #B25690
split-complementary
#B2A656 #5690B2 #7856B2
monochromatic
#615A2C #8B813F #B2A656 #C5BC80 #D8D2AA

Accessibility & contrast

On white

2.48
#B2A656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B2A656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A656
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A656#FFFFFF#000000##000000
##B2A6561.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24F
Deuteranopia (green-blind)
#B6A75A
Tritanopia (blue-blind)
#BE9C94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a656;
/* rgb */ color: rgb(178, 166, 86);
/* oklch */ color: oklch(71.8% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#cbc088',
    500: '#b2a656',
    950: '#000000',
  },
}
SCSS
$custom: #b2a656;
$custom-light: #cbc088;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a656",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 52.174,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.10257,
    "h": 100.9
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#B2A656
secondary
#9EA3C6
accent
#69CD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A656

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

Preview Lab → · Contrast checker → · Palette generator →

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