#B2A751#B2A751

#B2A751 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.109 H 102.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B2A751
RGBrgb(178, 167, 81)
HSLhsl(53, 39%, 51%)
HSVhsv(53, 54%, 70%)
CMYKcmyk(0%, 6.2%, 54.5%, 30.2%)
CIE-LABlab(67.80, -7.43, 45.28)
CIE-LCHlch(67.80, 45.88, 99.32°)
OKLaboklab(71.98% -0.0227 0.1061)
OKLCHoklch(71.98% 0.109 102.1)
XYZxyz(33.6651, 37.6977, 13.2860)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A751 #515CB2
analogous
#B27651 #B2A751 #8CB251
triadic
#B2A751 #51B2A7 #A751B2
tetradic
#B2A751 #51B276 #515CB2 #B2518C
square
#B2A751 #51B276 #515CB2 #B2518C
split-complementary
#B2A751 #518CB2 #7651B2
monochromatic
#5F592A #89803D #B2A751 #C5BC7B #D8D2A6

Accessibility & contrast

On white

2.46
#B2A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B2A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A751
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A751#FFFFFF#000000##000000
##B2A7511.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A249
Deuteranopia (green-blind)
#B8A755
Tritanopia (blue-blind)
#BE9D94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a751;
/* rgb */ color: rgb(178, 167, 81);
/* oklch */ color: oklch(72.0% 0.109 102.1);
Tailwind
colors: {
  custom: {
    50: '#cbc084',
    500: '#b2a751',
    950: '#000000',
  },
}
SCSS
$custom: #b2a751;
$custom-light: #cbc084;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a751",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 53.196,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.10852,
    "h": 102.1
  },
  "luminance": 0.37696
}

Semantic roles & 50–950 ramp

primary
#B2A751
secondary
#9A9FC5
accent
#67CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A751

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

Preview Lab → · Contrast checker → · Palette generator →

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