#B3A152#B3A152

#B3A152 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.102 H 96.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B3A152
RGBrgb(179, 161, 82)
HSLhsl(49, 39%, 51%)
HSVhsv(49, 54%, 70%)
CMYKcmyk(0%, 10.1%, 54.2%, 29.8%)
CIE-LABlab(66.28, -3.72, 43.03)
CIE-LCHlch(66.28, 43.19, 94.95°)
OKLaboklab(70.8% -0.012 0.1013)
OKLCHoklch(70.8% 0.102 96.8)
XYZxyz(32.8594, 35.6840, 13.1379)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A152 #5264B3
analogous
#B37052 #B3A152 #94B352
triadic
#B3A152 #52B3A1 #A152B3
tetradic
#B3A152 #52B370 #5264B3 #B35294
square
#B3A152 #52B370 #5264B3 #B35294
split-complementary
#B3A152 #5294B3 #7052B3
monochromatic
#60562A #8B7C3D #B3A152 #C6B87D #D8CFA7

Accessibility & contrast

On white

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

On black

8.14
#B3A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A152
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A152#FFFFFF#000000##000000
##B3A1521.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#B3A455
Tritanopia (blue-blind)
#BF978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a152;
/* rgb */ color: rgb(179, 161, 82);
/* oklch */ color: oklch(70.8% 0.102 96.8);
Tailwind
colors: {
  custom: {
    50: '#ccbc85',
    500: '#b3a152',
    950: '#000000',
  },
}
SCSS
$custom: #b3a152;
$custom-light: #ccbc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a152",
  "rgb": {
    "r": 179,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 48.866,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.10203,
    "h": 96.8
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

primary
#B3A152
secondary
#9BA3C6
accent
#6FCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3A152

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

Preview Lab → · Contrast checker → · Palette generator →

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