#B4A86E#B4A86E

#B4A86E is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.078 H 97.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B4A86E
RGBrgb(180, 168, 110)
HSLhsl(50, 32%, 57%)
HSVhsv(50, 39%, 71%)
CMYKcmyk(0%, 6.7%, 38.9%, 29.4%)
CIE-LABlab(68.63, -4.24, 31.54)
CIE-LCHlch(68.63, 31.82, 97.65°)
OKLaboklab(72.81% -0.0108 0.0775)
OKLCHoklch(72.81% 0.078 97.9)
XYZxyz(35.6402, 38.8354, 20.3674)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A86E #6E7AB4
analogous
#B4856E #B4A86E #9DB46E
triadic
#B4A86E #6EB4A8 #A86EB4
tetradic
#B4A86E #6EB485 #6E7AB4 #B46E9D
square
#B4A86E #6EB485 #6E7AB4 #B46E9D
split-complementary
#B4A86E #6E9DB4 #856EB4
monochromatic
#6E6539 #978A4E #B4A86E #C9C096 #DED8BF

Accessibility & contrast

On white

2.40
#B4A86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B4A86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A86E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A86E#FFFFFF#000000##000000
##B4A86E1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a86e;
/* rgb */ color: rgb(180, 168, 110);
/* oklch */ color: oklch(72.8% 0.078 97.9);
Tailwind
colors: {
  custom: {
    50: '#cbc198',
    500: '#b4a86e',
    950: '#000000',
  },
}
SCSS
$custom: #b4a86e;
$custom-light: #cbc198;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a86e",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 110
  },
  "hsl": {
    "h": 49.714,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72813,
    "c": 0.07826,
    "h": 97.9
  },
  "luminance": 0.38834
}

Semantic roles & 50–950 ramp

primary
#B4A86E
secondary
#B1B6CD
accent
#72C860
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B4A86E

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

Preview Lab → · Contrast checker → · Palette generator →

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