#B2A356#B2A356

#B2A356 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.100 H 98.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B2A356
RGBrgb(178, 163, 86)
HSLhsl(50, 37%, 52%)
HSVhsv(50, 52%, 70%)
CMYKcmyk(0%, 8.4%, 51.7%, 30.2%)
CIE-LABlab(66.77, -4.87, 41.60)
CIE-LCHlch(66.77, 41.88, 96.68°)
OKLaboklab(71.19% -0.0148 0.0986)
OKLCHoklch(71.19% 0.1 98.5)
XYZxyz(33.1381, 36.3325, 14.0696)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A356 #5665B2
analogous
#B27556 #B2A356 #93B256
triadic
#B2A356 #56B2A3 #A356B2
tetradic
#B2A356 #56B275 #5665B2 #B25693
square
#B2A356 #56B275 #5665B2 #B25693
split-complementary
#B2A356 #5693B2 #7556B2
monochromatic
#61592C #8B7F3F #B2A356 #C5BA80 #D8D1AA

Accessibility & contrast

On white

2.54
#B2A356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B2A356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A356
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A356#FFFFFF#000000##000000
##B2A3561.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4F
Deuteranopia (green-blind)
#B4A559
Tritanopia (blue-blind)
#BE9991
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a356;
/* rgb */ color: rgb(178, 163, 86);
/* oklch */ color: oklch(71.2% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#cbbe87',
    500: '#b2a356',
    950: '#000000',
  },
}
SCSS
$custom: #b2a356;
$custom-light: #cbbe87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a356",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 86
  },
  "hsl": {
    "h": 50.217,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7119,
    "c": 0.09969,
    "h": 98.5
  },
  "luminance": 0.36331
}

Semantic roles & 50–950 ramp

primary
#B2A356
secondary
#9EA4C6
accent
#6DCD5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A356

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

Preview Lab → · Contrast checker → · Palette generator →

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