#B3A951#B3A951

#B3A951 is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.111 H 102.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B3A951
RGBrgb(179, 169, 81)
HSLhsl(54, 39%, 51%)
HSVhsv(54, 55%, 70%)
CMYKcmyk(0%, 5.6%, 54.7%, 29.8%)
CIE-LABlab(68.43, -8.06, 46.03)
CIE-LCHlch(68.43, 46.73, 99.93°)
OKLaboklab(72.5% -0.0246 0.1077)
OKLCHoklch(72.5% 0.111 102.9)
XYZxyz(34.2647, 38.5549, 13.4199)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A951 #515BB3
analogous
#B37851 #B3A951 #8CB351
triadic
#B3A951 #51B3A9 #A951B3
tetradic
#B3A951 #51B378 #515BB3 #B3518C
square
#B3A951 #51B378 #515BB3 #B3518C
split-complementary
#B3A951 #518CB3 #7851B3
monochromatic
#605A2A #8A823C #B3A951 #C6BE7C #D8D3A6

Accessibility & contrast

On white

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

On black

8.71
#B3A951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A951
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A951#FFFFFF#000000##000000
##B3A9511.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A449
Deuteranopia (green-blind)
#BAA955
Tritanopia (blue-blind)
#BF9F95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3a951;
/* rgb */ color: rgb(179, 169, 81);
/* oklch */ color: oklch(72.5% 0.111 102.9);
Tailwind
colors: {
  custom: {
    50: '#ccc284',
    500: '#b3a951',
    950: '#000000',
  },
}
SCSS
$custom: #b3a951;
$custom-light: #ccc284;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a951",
  "rgb": {
    "r": 179,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 53.878,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72504,
    "c": 0.1105,
    "h": 102.9
  },
  "luminance": 0.38554
}

Semantic roles & 50–950 ramp

primary
#B3A951
secondary
#9A9FC6
accent
#65CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3A951

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

Preview Lab → · Contrast checker → · Palette generator →

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