#B2A649#B2A649

#B2A649 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.115 H 102.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A649
RGBrgb(178, 166, 73)
HSLhsl(53, 42%, 49%)
HSVhsv(53, 59%, 70%)
CMYKcmyk(0%, 6.7%, 59%, 30.2%)
CIE-LABlab(67.44, -7.53, 48.68)
CIE-LCHlch(67.44, 49.26, 98.79°)
OKLaboklab(71.67% -0.0239 0.1125)
OKLCHoklch(71.67% 0.115 102)
XYZxyz(33.2001, 37.2197, 11.7373)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A649 #4955B2
analogous
#B27249 #B2A649 #8AB249
triadic
#B2A649 #49B2A6 #A649B2
tetradic
#B2A649 #49B272 #4955B2 #B2498A
square
#B2A649 #49B272 #4955B2 #B2498A
split-complementary
#B2A649 #498AB2 #7249B2
monochromatic
#5B5525 #877E37 #B2A649 #C5BC73 #D7D19E

Accessibility & contrast

On white

2.49
#B2A649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B2A649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A649
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A649#FFFFFF#000000##000000
##B2A6491.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13F
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#BE9B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a649;
/* rgb */ color: rgb(178, 166, 73);
/* oklch */ color: oklch(71.7% 0.115 102.0);
Tailwind
colors: {
  custom: {
    50: '#ccc07f',
    500: '#b2a649',
    950: '#000000',
  },
}
SCSS
$custom: #b2a649;
$custom-light: #ccc07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a649",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 73
  },
  "hsl": {
    "h": 53.143,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71674,
    "c": 0.11502,
    "h": 102
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

primary
#B2A649
secondary
#9399C4
accent
#64D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A649

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

Preview Lab → · Contrast checker → · Palette generator →

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