#B2A657#B2A657

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

Color values

HEX#B2A657
RGBrgb(178, 166, 87)
HSLhsl(52, 37%, 52%)
HSVhsv(52, 51%, 70%)
CMYKcmyk(0%, 6.7%, 51.1%, 30.2%)
CIE-LABlab(67.60, -6.38, 42.08)
CIE-LCHlch(67.60, 42.57, 98.62°)
OKLaboklab(71.85% -0.019 0.0998)
OKLCHoklch(71.85% 0.102 100.8)
XYZxyz(33.7176, 37.4267, 14.4630)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A657 #5763B2
analogous
#B27957 #B2A657 #91B257
triadic
#B2A657 #57B2A6 #A657B2
tetradic
#B2A657 #57B279 #5763B2 #B25791
square
#B2A657 #57B279 #5763B2 #B25791
split-complementary
#B2A657 #5791B2 #7957B2
monochromatic
#625B2D #8C8240 #B2A657 #C5BC81 #D8D2AB

Accessibility & contrast

On white

2.47
#B2A657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B2A657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A657
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A657#FFFFFF#000000##000000
##B2A6571.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a657;
/* rgb */ color: rgb(178, 166, 87);
/* oklch */ color: oklch(71.8% 0.102 100.8);
Tailwind
colors: {
  custom: {
    50: '#cbc088',
    500: '#b2a657',
    950: '#000000',
  },
}
SCSS
$custom: #b2a657;
$custom-light: #cbc088;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a657",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 52.088,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71846,
    "c": 0.10155,
    "h": 100.8
  },
  "luminance": 0.37426
}

Semantic roles & 50–950 ramp

primary
#B2A657
secondary
#9EA4C6
accent
#6ACD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A657

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

Preview Lab → · Contrast checker → · Palette generator →

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