#B2A56F#B2A56F

#B2A56F is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.074 H 96.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B2A56F
RGBrgb(178, 165, 111)
HSLhsl(48, 30%, 57%)
HSVhsv(48, 38%, 70%)
CMYKcmyk(0%, 7.3%, 37.6%, 30.2%)
CIE-LABlab(67.67, -3.33, 29.72)
CIE-LCHlch(67.67, 29.90, 96.40°)
OKLaboklab(72.01% -0.008 0.0734)
OKLCHoklch(72.01% 0.074 96.2)
XYZxyz(34.6851, 37.5240, 20.4516)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A56F #6F7CB2
analogous
#B2846F #B2A56F #9EB26F
triadic
#B2A56F #6FB2A5 #A56FB2
tetradic
#B2A56F #6FB284 #6F7CB2 #B26F9E
square
#B2A56F #6FB284 #6F7CB2 #B26F9E
split-complementary
#B2A56F #6F9EB2 #846FB2
monochromatic
#6D633A #94874F #B2A56F #C7BE97 #DDD7BF

Accessibility & contrast

On white

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

On black

8.50
#B2A56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A56F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A56F#FFFFFF#000000##000000
##B2A56F1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26B
Deuteranopia (green-blind)
#B3A771
Tritanopia (blue-blind)
#BC9D97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a56f;
/* rgb */ color: rgb(178, 165, 111);
/* oklch */ color: oklch(72.0% 0.074 96.2);
Tailwind
colors: {
  custom: {
    50: '#cabf99',
    500: '#b2a56f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a56f;
$custom-light: #cabf99;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a56f",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 111
  },
  "hsl": {
    "h": 48.358,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72014,
    "c": 0.0738,
    "h": 96.2
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#B2A56F
secondary
#B1B6CC
accent
#75C761
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A56F

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

Preview Lab → · Contrast checker → · Palette generator →

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