#B2A86E#B2A86E

#B2A86E is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.078 H 99.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B2A86E
RGBrgb(178, 168, 110)
HSLhsl(51, 31%, 56%)
HSVhsv(51, 38%, 70%)
CMYKcmyk(0%, 5.6%, 38.2%, 30.2%)
CIE-LABlab(68.46, -5.06, 31.28)
CIE-LCHlch(68.46, 31.68, 99.18°)
OKLaboklab(72.63% -0.0131 0.0769)
OKLCHoklch(72.63% 0.078 99.6)
XYZxyz(35.1778, 38.5970, 20.3457)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A86E #6E78B2
analogous
#B2866E #B2A86E #9AB26E
triadic
#B2A86E #6EB2A8 #A86EB2
tetradic
#B2A86E #6EB286 #6E78B2 #B26E9A
square
#B2A86E #6EB286 #6E78B2 #B26E9A
split-complementary
#B2A86E #6E9AB2 #866EB2
monochromatic
#6C6539 #948A4F #B2A86E #C7C096 #DCD8BE

Accessibility & contrast

On white

2.41
#B2A86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B2A86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A86E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A86E#FFFFFF#000000##000000
##B2A86E1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56A
Deuteranopia (green-blind)
#B6A970
Tritanopia (blue-blind)
#BCA099
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a86e;
/* rgb */ color: rgb(178, 168, 110);
/* oklch */ color: oklch(72.6% 0.078 99.6);
Tailwind
colors: {
  custom: {
    50: '#cac198',
    500: '#b2a86e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a86e;
$custom-light: #cac198;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a86e",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 110
  },
  "hsl": {
    "h": 51.176,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.07803,
    "h": 99.6
  },
  "luminance": 0.38596
}

Semantic roles & 50–950 ramp

primary
#B2A86E
secondary
#B0B4CC
accent
#70C761
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A86E

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

Preview Lab → · Contrast checker → · Palette generator →

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