#B3A157#B3A157

#B3A157 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.097 H 96.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B3A157
RGBrgb(179, 161, 87)
HSLhsl(48, 38%, 52%)
HSVhsv(48, 51%, 70%)
CMYKcmyk(0%, 10.1%, 51.4%, 29.8%)
CIE-LABlab(66.34, -3.28, 40.59)
CIE-LCHlch(66.34, 40.73, 94.62°)
OKLaboklab(70.87% -0.0102 0.0965)
OKLCHoklch(70.87% 0.097 96)
XYZxyz(33.0567, 35.7629, 14.1767)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A157 #5769B3
analogous
#B37357 #B3A157 #97B357
triadic
#B3A157 #57B3A1 #A157B3
tetradic
#B3A157 #57B373 #5769B3 #B35797
square
#B3A157 #57B373 #5769B3 #B35797
split-complementary
#B3A157 #5797B3 #7357B3
monochromatic
#63582D #8D7E40 #B3A157 #C6B981 #D9D0AB

Accessibility & contrast

On white

2.58
#B3A157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B3A157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A157
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A157#FFFFFF#000000##000000
##B3A1571.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E51
Deuteranopia (green-blind)
#B3A45A
Tritanopia (blue-blind)
#BF9790
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a157;
/* rgb */ color: rgb(179, 161, 87);
/* oklch */ color: oklch(70.9% 0.097 96.0);
Tailwind
colors: {
  custom: {
    50: '#ccbc88',
    500: '#b3a157',
    950: '#000000',
  },
}
SCSS
$custom: #b3a157;
$custom-light: #ccbc88;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a157",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 48.261,
    "s": 37.705,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.09699,
    "h": 96
  },
  "luminance": 0.35762
}

Semantic roles & 50–950 ramp

primary
#B3A157
secondary
#9FA7C7
accent
#71CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3A157

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

Preview Lab → · Contrast checker → · Palette generator →

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