#B2A56E#B2A56E

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

Color values

HEX#B2A56E
RGBrgb(178, 165, 110)
HSLhsl(49, 31%, 56%)
HSVhsv(49, 38%, 70%)
CMYKcmyk(0%, 7.3%, 38.2%, 30.2%)
CIE-LABlab(67.65, -3.45, 30.23)
CIE-LCHlch(67.65, 30.43, 96.52°)
OKLaboklab(72% -0.0084 0.0745)
OKLCHoklch(72% 0.075 96.5)
XYZxyz(34.6303, 37.5021, 20.1632)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A56E #6E7BB2
analogous
#B2836E #B2A56E #9DB26E
triadic
#B2A56E #6EB2A5 #A56EB2
tetradic
#B2A56E #6EB283 #6E7BB2 #B26E9D
square
#B2A56E #6EB283 #6E7BB2 #B26E9D
split-complementary
#B2A56E #6E9DB2 #836EB2
monochromatic
#6C6239 #94874F #B2A56E #C7BE96 #DCD7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A56E#FFFFFF#000000##000000
##B2A56E1.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)
#B0A26A
Deuteranopia (green-blind)
#B3A770
Tritanopia (blue-blind)
#BC9D97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a56e;
/* rgb */ color: rgb(178, 165, 110);
/* oklch */ color: oklch(72.0% 0.075 96.5);
Tailwind
colors: {
  custom: {
    50: '#cabf98',
    500: '#b2a56e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a56e;
$custom-light: #cabf98;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a56e",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 110
  },
  "hsl": {
    "h": 48.529,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.71996,
    "c": 0.07499,
    "h": 96.5
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#B2A56E
secondary
#B0B5CC
accent
#74C761
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A56E

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

Preview Lab → · Contrast checker → · Palette generator →

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