#B3A86F#B3A86F

#B3A86F is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.077 H 98.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B3A86F
RGBrgb(179, 168, 111)
HSLhsl(50, 31%, 57%)
HSVhsv(50, 38%, 70%)
CMYKcmyk(0%, 6.1%, 38%, 29.8%)
CIE-LABlab(68.56, -4.53, 30.90)
CIE-LCHlch(68.56, 31.23, 98.34°)
OKLaboklab(72.74% -0.0115 0.0761)
OKLCHoklch(72.74% 0.077 98.6)
XYZxyz(35.4629, 38.7377, 20.6449)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A86F #6F7AB3
analogous
#B3866F #B3A86F #9CB36F
triadic
#B3A86F #6FB3A8 #A86FB3
tetradic
#B3A86F #6FB386 #6F7AB3 #B36F9C
square
#B3A86F #6FB386 #6F7AB3 #B36F9C
split-complementary
#B3A86F #6F9CB3 #866FB3
monochromatic
#6E653A #968A4F #B3A86F #C8C097 #DDD8BF

Accessibility & contrast

On white

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

On black

8.75
#B3A86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A86F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A86F#FFFFFF#000000##000000
##B3A86F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56B
Deuteranopia (green-blind)
#B6A971
Tritanopia (blue-blind)
#BDA09A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3a86f;
/* rgb */ color: rgb(179, 168, 111);
/* oklch */ color: oklch(72.7% 0.077 98.6);
Tailwind
colors: {
  custom: {
    50: '#cbc199',
    500: '#b3a86f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a86f;
$custom-light: #cbc199;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a86f",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 111
  },
  "hsl": {
    "h": 50.294,
    "s": 30.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72741,
    "c": 0.07695,
    "h": 98.6
  },
  "luminance": 0.38737
}

Semantic roles & 50–950 ramp

primary
#B3A86F
secondary
#B1B6CD
accent
#71C761
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B3A86F

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

Preview Lab → · Contrast checker → · Palette generator →

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